Developing on Edgeware

Implemented Modules

Adding A Module

  1. Add its github repo to:
  2. Cargo.toml
  3. node/runtime/Cargo.toml
  4. node/runtime/wasm/Cargo.toml (be sure to have default-features = false)
  5. Changes to the runtime:
  6. Add it as an extern crate.
  7. Implement its Trait with production types.
  8. Add it to the construct_runtime macro with all implemented components.
  9. If its storage contains config elements, then you need to modify the chain spec:
  10. Add it to the edgeware_runtime's list of Config types.
  11. Add it to the testnet_genesis function, initializing all storage fields set to config().
  12. Build and run the chain.