|
1 |
| -# Substrate Node Template |
| 1 | +# Libre currency based on Substrate framework |
2 | 2 |
|
3 |
| -A fresh FRAME-based [Substrate](https://www.substrate.io/) node, ready for hacking :rocket: |
| 3 | +A FRAME-based [Substrate](https://www.substrate.io/) libre currency implementation. |
4 | 4 |
|
5 |
| -### Rust Setup |
| 5 | +## Setup |
6 | 6 |
|
7 |
| -First, complete the [basic Rust setup instructions](./docs/rust-setup.md). |
| 7 | +First, complete the [basic setup instructions](./docs/setup.md). |
8 | 8 |
|
9 |
| -### Run |
| 9 | +## Build |
10 | 10 |
|
11 |
| -Use Rust's native `cargo` command to build and launch the template node: |
| 11 | +NOTE: You must first follow the instructions in the [Setup] section (#setup). |
| 12 | + |
| 13 | +Use the following command to build the node without launching it: |
12 | 14 |
|
13 | 15 | ```sh
|
14 |
| -cargo run --release -- --dev --tmp |
| 16 | +cargo build --release |
15 | 17 | ```
|
16 | 18 |
|
17 |
| -### Build |
| 19 | +## Run |
18 | 20 |
|
19 |
| -The `cargo run` command will perform an initial build. Use the following command to build the node |
20 |
| -without launching it: |
| 21 | +Use Rust's native `cargo` command to build and launch the node: |
21 | 22 |
|
22 | 23 | ```sh
|
23 |
| -cargo build --release |
| 24 | +cargo run --release -- --dev --tmp |
24 | 25 | ```
|
25 | 26 |
|
| 27 | + |
26 | 28 | ### Embedded Docs
|
27 | 29 |
|
28 | 30 | Once the project has been built, the following command can be used to explore all parameters and
|
@@ -63,6 +65,10 @@ RUST_LOG=debug RUST_BACKTRACE=1 ./target/release/lc-core -lruntime=debug --dev
|
63 | 65 | Once the node template is running locally, you can connect it with **Polkadot-JS Apps** front-end
|
64 | 66 | to interact with your chain. [Click here](https://polkadot.js.org/apps/#/explorer?rpc=ws://localhost:9944) connecting the Apps to your local node template.
|
65 | 67 |
|
| 68 | +CAUTION: Pour que **Polkadot-JS Apps** soit capable de comprendre pleinement l'interface exposée par le noeud, vous devez y importer les types définies dans le fichier `types-bundle/types_definition.json`: |
| 69 | + |
| 70 | + |
| 71 | + |
66 | 72 | ### Multi-Node Local Testnet
|
67 | 73 |
|
68 | 74 | If you want to see the multi-node consensus algorithm in action, refer to
|
|
0 commit comments