Gather common javascript usages for Darwinia Network.
type | name |
---|---|
cmd-tool | @darwinia/dj |
cmd-tool | @darwinia/dactle |
library | @darwinia/api |
library | @darwinia/util |
The config part is shared with all projects building with darwinia.js
,
we strongly recommand you to read this sample before you starting your
darwinia.js
trip!
// ~/.darwinia/config.json
{
"shadow": "shadow service api, refer github.com/darwini-network/darwinia.go",
"node": "darwinia node, should start with `ws://` or `wss://`, eg: ws://0.0.0.0:9944",
"seed": "darwinia account seed, eg: //Alice"
}
If you want to use darwinia.js
developing your own darwinia.js
based apps, you might
want to try @darwinia/api
and @darwinia/util
.
If you want to test Darwinia using darwinia.js
, check the @darwinia/dj
project.
GPL-3.0