Add RPC Builder to Substrate Node Template (#6808)
* Pulled RPC from node and populated the node-template's RPC builder with one example implementation * surpress build errror * dead_code * Fixed module usage, removed copyright, removed rpc builder for light client + some comments * added a comment for rpc extension * Update bin/node-template/node/src/rpc.rs Co-authored-by:Shawn Tabrizi <shawntabrizi@gmail.com> * Update rpc.rs * fix spacing * more space to tabs * more space to tabs * Documenation nitpick * Documentation nitpick * Documentation nitpick * Documentation nitpick * Documentation nitpick * pre-format * Updated transaction payment API implemented for node template * fix space and commented code * fix long line Co-authored-by:
Shawn Tabrizi <shawntabrizi@gmail.com> Co-authored-by:
Dan Forbes <dan@danforbes.dev>
parent
886d79e0
Showing
- substrate/Cargo.lock 10 additions, 0 deletionssubstrate/Cargo.lock
- substrate/bin/node-template/node/Cargo.toml 11 additions, 1 deletionsubstrate/bin/node-template/node/Cargo.toml
- substrate/bin/node-template/node/src/lib.rs 1 addition, 0 deletionssubstrate/bin/node-template/node/src/lib.rs
- substrate/bin/node-template/node/src/main.rs 1 addition, 0 deletionssubstrate/bin/node-template/node/src/main.rs
- substrate/bin/node-template/node/src/rpc.rs 64 additions, 0 deletionssubstrate/bin/node-template/node/src/rpc.rs
- substrate/bin/node-template/node/src/service.rs 25 additions, 10 deletionssubstrate/bin/node-template/node/src/service.rs
- substrate/bin/node-template/runtime/Cargo.toml 6 additions, 1 deletionsubstrate/bin/node-template/runtime/Cargo.toml
- substrate/bin/node-template/runtime/src/lib.rs 15 additions, 0 deletionssubstrate/bin/node-template/runtime/src/lib.rs
Please register or sign in to comment