SAS_SUBSTRATE_WS_URL
to specify where is the node. If using our hosted mainnet node, set it to wss://mainnet-node.dock.io, otherwise set it to point to the websocket endpoint of your node. If running a local node with websockets at port 9944, you don't need to set it.SAS_SUBSTRATE_TYPES_BUNDLE
to specify our custom types from the above types package. This needs to point to the file system path of the index.js
file of the above package, eg if the types package was downloaded at the location /home/Downloads/node-types
then this variable should be set to /home/Downloads/node-types/src/index.js
. SAS_SUBSTRATE_TYPES_BUNDLE=<path to index.js> SAS_SUBSTRATE_WS_URL=<websocket endpoint> yarn dev