You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some tools (network, signer, contract, js) and commands have short aliases. For example instead of using `everdev network list` you can use `everdev n l` and even shorter `everdev nl`.
71
71
72
-
Explore the detailed description of command line interface in the corresponding [section](docs/command-line-interface/).
72
+
Explore the detailed description of command line interface in the corresponding [section](broken-reference).
73
73
74
74
## Working with DevNet
75
75
@@ -88,4 +88,4 @@ Learn more about creating your own controller: [Creating Controller](docs/guides
88
88
89
89
## Troubleshooting
90
90
91
-
If you encountered any problem try to seek the solution in [Troubleshooting Notes](docs/troubleshooting.md). If it didn't help - please, ask in our [telegram channel](https://t.me/ton\_sdk).
91
+
If you encountered any problem try to seek the solution in [Troubleshooting Notes](docs/troubleshooting.md). If it didn't help - please, ask in our [telegram channel](https://t.me/ever\_sdk).
Copy file name to clipboardExpand all lines: docs/command-line-interface/c.md
+1-2
Original file line number
Diff line number
Diff line change
@@ -10,8 +10,7 @@ everdev clang create Contract
10
10
11
11
## Compile
12
12
13
-
This command compiles and links a selected C++ contract.
14
-
After successful compilation you get .abi.json and .tvc files that you can later [use in your DApps to deploy and run contract methods](https://tonlabs.gitbook.io/ton-sdk/guides/work_with_contracts/add_contract_to_your_app).
13
+
This command compiles and links a selected C++ contract. After successful compilation you get .abi.json and .tvc files that you can later [use in your DApps to deploy and run contract methods](https://docs.everos.dev/ever-sdk/guides/work\_with\_contracts/add\_contract\_to\_your\_app).
Copy file name to clipboardExpand all lines: docs/command-line-interface/network-tool.md
+5-8
Original file line number
Diff line number
Diff line change
@@ -2,11 +2,9 @@
2
2
3
3
Network tool is a convenient way to organize all of your network configurations in one place.
4
4
5
-
You can register several blockchains (networks) under short names
6
-
and then use these names as a target blockchain when working with contracts.
5
+
You can register several blockchains (networks) under short names and then use these names as a target blockchain when working with contracts.
7
6
8
-
You can mark one of the networks as a default.
9
-
It can be used in network commands without providing net name.
7
+
You can mark one of the networks as a default. It can be used in network commands without providing net name.
10
8
11
9
## Add a network
12
10
@@ -30,7 +28,7 @@ Options:
30
28
--force, -f Overwrite key if already exists
31
29
```
32
30
33
-
Example with [mainnet endpoints](https://tonlabs.gitbook.io/ton-sdk/reference/ton-os-api/networks):
31
+
Example with [mainnet endpoints](https://docs.everos.dev/ever-sdk/reference/ever-os-api/networks):
34
32
35
33
```bash
36
34
everdev network add main eri01.main.everos.dev,gra01.main.everos.dev,gra02.main.everos.dev,lim01.main.everos.dev,rbx01.main.everos.dev
@@ -58,10 +56,10 @@ Options:
58
56
--signer, -s Signer to be used with giver
59
57
--value, -v Deploying account initial balance in nanotokens
60
58
```
59
+
61
60
**Note:** The default signer and the initial balance value of 10 tokens will be used, unless otherwise specified through options. Also note, that some contracts may require a higher initial balance for successful deployment. DePool contract, for instance, requires a minimun of 21 tokens.
62
61
63
-
Only one giver can be setfor a network. Setting another one will overwrite the current giver.
64
-
To view the current giver settings for all networks, use the `everdev network list`command (for details see the section [below](#list-registered-networks)).
62
+
Only one giver can be setfor a network. Setting another one will overwrite the current giver. To view the current giver settings for all networks, use the `everdev network list`command (for details see the section [below](network-tool.md#list-registered-networks)).
65
63
66
64
## List registered networks
67
65
@@ -96,4 +94,3 @@ This command deletes a network from everdev registry.
Copy file name to clipboardExpand all lines: docs/command-line-interface/solidity.md
+6-7
Original file line number
Diff line number
Diff line change
@@ -10,8 +10,7 @@ everdev sol create Contract
10
10
11
11
## Compile
12
12
13
-
This command compiles and links a selected Solidity contract.
14
-
After successful compilation you get .abi.json and .tvc files that you can later [use in your DApps to deploy and run contract methods](https://tonlabs.gitbook.io/ton-sdk/guides/work_with_contracts/add_contract_to_your_app).
13
+
This command compiles and links a selected Solidity contract. After successful compilation you get .abi.json and .tvc files that you can later [use in your DApps to deploy and run contract methods](https://docs.everos.dev/ever-sdk/guides/work\_with\_contracts/add\_contract\_to\_your\_app).
15
14
16
15
```shell
17
16
everdev sol compile Contract.sol
@@ -22,8 +21,8 @@ To save generated assembler code use `-c` option (default is false)
22
21
```shell
23
22
everdev sol compile Contract.sol -c path/to/output/file
24
23
```
25
-
Assembler code will be saved in path/to/output/file with the extension `code`
26
24
25
+
Assembler code will be saved in path/to/output/file with the extension `code`
27
26
28
27
You can specify the output files location with the `-o` option:
29
28
@@ -66,8 +65,8 @@ This command updates the compiler and linker to the latest version.
66
65
```shell
67
66
everdev sol update
68
67
```
69
-
**Attention!**
70
-
Use --force option to force update of components that do not update their version.
68
+
69
+
**Attention!**Use --force option to force update of components that do not update their version.
71
70
72
71
## Set
73
72
@@ -76,5 +75,5 @@ This command sets the compiler and linker versions and downloads them if needed.
76
75
```shell
77
76
everdev sol set --compiler 0.38.0 --linker 0.23.54
78
77
```
79
-
**Attention!**
80
-
Use --force option to force update of components that do not update their version.
78
+
79
+
**Attention!**Use --force option to force update of components that do not update their version.
-[Configure Giver wallet that will sponsor deploy operation](#configure-giver-wallet-that-will-sponsor-deploy-operation)
29
-
-[Generate the keys for contract ownership](#generate-the-keys-for-contract-ownership)
30
-
-[Calculate the contract address](#calculate-the-contract-address)
31
-
-[Deploy](#deploy)
32
-
-[View contract information with Explorer](#view-contract-information-with-explorer)
33
-
-[Explore contract information with GraphQL](#explore-contract-information-with-graphql)
34
-
-[Run on-chain](#run-on-chain)
35
-
-[Run a getter function](#run-a-getter-function)
36
-
-[Transfer some tokens](#transfer-some-tokens)
37
-
-[What's next?](#whats-next)
24
+
25
+
*[Get started with Development Tools](quick-start.md#get-started-with-development-tools)
26
+
*[Guide overview](quick-start.md#guide-overview)
27
+
*[Table of Contents](quick-start.md#table-of-contents)
28
+
*[Install everdev - single interface to access all the developer tools](quick-start.md#install-everdev---single-interface-to-access-all-the-developer-tools)
*[Configure Giver wallet that will sponsor deploy operation](quick-start.md#configure-giver-wallet-that-will-sponsor-deploy-operation)
34
+
*[Generate the keys for contract ownership](quick-start.md#generate-the-keys-for-contract-ownership)
35
+
*[Calculate the contract address](quick-start.md#calculate-the-contract-address)
36
+
*[Deploy](quick-start.md#deploy)
37
+
*[View contract information with Explorer](quick-start.md#view-contract-information-with-explorer)
38
+
*[Explore contract information with GraphQL](quick-start.md#explore-contract-information-with-graphql)
39
+
*[Run on-chain](quick-start.md#run-on-chain)
40
+
*[Run a getter function](quick-start.md#run-a-getter-function)
41
+
*[Transfer some tokens](quick-start.md#transfer-some-tokens)
42
+
*[What's next?](quick-start.md#whats-next)
38
43
39
44
### Install everdev - single interface to access all the developer tools
40
-
```$ npm install -g everdev```
41
45
42
-
If you experience any problems with installation, check out our [troubleshooting section](../troubleshooting.md).
46
+
`$ npm install -g everdev`
43
47
48
+
If you experience any problems with installation, check out our [troubleshooting section](../troubleshooting.md).
44
49
45
50
### Create helloWorld contract
46
-
```$ everdev sol create helloWorld```
51
+
52
+
`$ everdev sol create helloWorld`
47
53
48
54
### Compile it
49
-
```$ everdev sol compile helloWorld.sol```
50
55
51
-
### Run Local Blockchain
56
+
`$ everdev sol compile helloWorld.sol`
57
+
58
+
### Run Local Blockchain
59
+
52
60
**Attention** Docker should be running.
53
61
54
-
```$ everdev se start```
62
+
`$ everdev se start`
63
+
64
+
### Configure default network
55
65
56
-
### Configure default network
57
66
Set Local Blockchain [SE (Simple Emulator)](https://github.com/tonlabs/evernode-se) as the default network:
58
67
59
-
```$ everdev network default se```
68
+
`$ everdev network default se`
60
69
61
70
### Configure Giver wallet that will sponsor deploy operation
62
-
Here we use address and private key of [SE High Load Giver](https://github.com/tonlabs/evernode-se/tree/master/contracts/giver_v2).
63
71
64
-
**Attention! This giver is available only in SE. If you work in DevNet or MainNet, you need to deploy your own giver.
65
-
[Check how to do it in this guide](work-with-devnet.md).**
72
+
Here we use address and private key of [SE High Load Giver](https://github.com/tonlabs/evernode-se/tree/master/contracts/giver\_v2).
66
73
74
+
**Attention! This giver is available only in SE. If you work in DevNet or MainNet, you need to deploy your own giver.**[**Check how to do it in this guide**](work-with-devnet.md)**.**
You can see that the contract does not exist yet (is not deployed) but you can already see its future address.
104
114
105
115
### Deploy
106
116
107
-
Here we deploy the contract, sponsoring it with 10 Tokens (Everscale native currency has 9 decimals). The money for deploy are taken from the giver we configured in the previous steps.
117
+
Here we deploy the contract, sponsoring it with 10 Tokens (Everscale native currency has 9 decimals). The money for deploy are taken from the giver we configured in the previous steps.
@@ -121,13 +131,13 @@ Contract has deployed at address: 0:e74c4258496e79e62e014ca96911acbf5cb0e286fd55
121
131
```
122
132
123
133
### View contract information with Explorer
124
-
Go to [localhost](http://localhost/) and search for your contract address in search bar.
125
-
Open your account page. You will need it later to see its transactions and messages, that we will produce in the next steps.
126
134
135
+
Go to [localhost](http://localhost) and search for your contract address in search bar. Open your account page. You will need it later to see its transactions and messages, that we will produce in the next steps.
127
136
128
137
### Explore contract information with GraphQL
129
-
Go to [localhost/graphql](http://localhost/graphql).
130
-
Enter in the left pane and click Run button (replace the contract's address with the one you got in the previous steps).
138
+
139
+
Go to [localhost/graphql](http://localhost/graphql). Enter in the left pane and click Run button (replace the contract's address with the one you got in the previous steps).
140
+
131
141
```
132
142
query {
133
143
accounts(
@@ -145,7 +155,9 @@ query {
145
155
}
146
156
}
147
157
```
158
+
148
159
You will see:
160
+
149
161
```
150
162
{
151
163
"data": {
@@ -161,16 +173,16 @@ You will see:
161
173
}
162
174
}
163
175
```
176
+
164
177
You can specify any other fields in the result section that are available in GraphQL Schema. (Click `Docs` on the right side of your screen to explore it).
165
178
166
-
**What is GraphQL?**
167
-
This is the API of blockchain, to retrieve data from it and to send data into it.
168
-
You can use this playground later, if you will need need to test some queries.
179
+
**What is GraphQL?** This is the API of blockchain, to retrieve data from it and to send data into it. You can use this playground later, if you will need need to test some queries.
169
180
170
181
### Run on-chain
182
+
171
183
Let's move on and run an on-chain method.
172
184
173
-
```
185
+
```
174
186
$ everdev c run helloWorld
175
187
176
188
Configuration
@@ -191,21 +203,20 @@ Available functions:
191
203
Select function (number):
192
204
```
193
205
194
-
Let's enter 3. You will see the transaction ID of the operation.
206
+
Let's enter 3. You will see the transaction ID of the operation.
Search for it on your Contract's page in Explorer and in GraphQL playground (use `transactions` collection instead of `accounts`).
219
+
In the result you can see the transaction\_id. Search for it on your Contract's page in Explorer and in GraphQL playground (use `transactions` collection instead of `accounts`).
209
220
210
221
### Run a getter function
211
222
@@ -226,6 +237,7 @@ Execution has finished with result: {
226
237
"out_messages": []
227
238
}
228
239
```
240
+
229
241
### Transfer some tokens
230
242
231
243
```
@@ -252,21 +264,19 @@ Execution has finished with result: {
- Contracts take value in nanotokens, so in this step we transfered 1 token.
257
-
- Bounce = true means that if the recipient does not exist, money will be returned back.
258
-
**If you plan to transfer money for deploy, specify Bounce = false!**
259
-
260
-
Again, now you can find this transaction in Explorer or GraphQL API.
261
267
262
-
## What's next?
268
+
**Attention!**
263
269
264
-
1. If you want to migrate to Dev Network, read [Working with DevNet guide](work-with-devnet.md).
270
+
* Contracts take value in nanotokens, so in this step we transfered 1 token.
271
+
* Bounce = true means that if the recipient does not exist, money will be returned back. **If you plan to transfer money for deploy, specify Bounce = false!**
265
272
266
-
2. Also take a look at our [blockchain basics page](https://everos.dev/faq/blockchain-basic) that will help you understand the core concepts of Everscale:)
273
+
Again, now you can find this transaction in Explorer or GraphQL API.
267
274
268
-
3. If you want to integrate your application with Everscale - dive into our [SDK Quick Start](https://tonlabs.gitbook.io/ton-sdk/quick_start)!
275
+
## What's next?
269
276
277
+
1. If you want to migrate to Dev Network, read [Working with DevNet guide](work-with-devnet.md).
278
+
2. Also take a look at our [blockchain basics page](https://everos.dev/faq/blockchain-basic) that will help you understand the core concepts of Everscale:)
279
+
3. If you want to integrate your application with Everscale - dive into our [SDK Quick Start](https://docs.everos.dev/ever-sdk/quick\_start)!
270
280
4. If you are an exchange - check out our [exchange guide](https://docs.ton.dev/86757ecb2/p/10aec9-add-ton-crystal-to-your-exchange)!
271
281
272
-
We hope this guide was helpful to you! If you have any difficulties/questions/suggestions/etc. please write to out telegram channelhttps://t.me/ever_sdk.
282
+
We hope this guide was helpful to you! If you have any difficulties/questions/suggestions/etc. please write to out [telegram channel](https://t.me/ever\_sdk).
0 commit comments