A development version of multi-signature wallet on Substrate, started at Blockchain Hackathon 21.09.2019
-
Run
git clone https://github.com/f3joule/f3joule-multisig-subwallet/tree/multisig-wallet
. -
Cd to a root of the project.
-
Run
curl https://getsubstrate.io -sSf | bash -s -- --fast
- This installs external dependencies needed for substrate. Take a look at the script.
- The
--fast
command allows us to skip thecargo install
steps forsubstrate
andsubkey
, which is not needed for runtime development.
-
Go into the
multisig-subwallet
folder and run:./scripts/build-runtime.sh
cargo build
cargo run -- --dev
- This should start your node, and you should see blocks being created
-
Go into the
multisig-subwallet-ui
folder and run:yarn install
yarn dev
- This should start a web server on
localhost:8000
where you can interact with your node
-
Go to Polkadot.JS Apps => Settings.
- Change remote node/endpoint to "Local node"
- Change interface operation mode to "Fully featured"
-
Go to Polkadot.JS Apps => Settings => Developer.
- Copy content from types.json and paste it into a text area on a page.
-
Press save.
-
Interact with your node and hack away!