RPC: expose chain spec properties (#1104)

* Add properties to chain spec

* Read properties as serde_json::Value

* Use a serde json::map::Map directly for properties

* Add type alias for json Map

* Update chain_spec.rs
This commit is contained in:
Andrew Jones
2018-11-12 18:58:44 +00:00
committed by Gav Wood
parent 57b2896332
commit db075b57f0
8 changed files with 42 additions and 4 deletions
+3
View File
@@ -1,6 +1,9 @@
{
"name": "BBQ Birch",
"id": "bbq-birch",
"properties": {
"tokenSymbol": "BBQ"
},
"telemetryUrl": "wss://telemetry.polkadot.io/submit/",
"protocolId": null,
"bootNodes": [