Node package for Parity's Secret Store and Private Transaction JSON-RPC API calls and sessions
npm install secretstore-private-js- Parity's secretstore module
- various secretstore sessions
- Parity's private module
https://ngyam.github.io/secretstore-private-js/
#clone the repo
npm install -D
`
$3
Place the secret store enabled Parity client in the root of the project directory. For the secret store feature he parity client needs to be compiled from source with some extra flags.
`
git clone https://github.com/paritytech/parity
cd parity
cargo build --features secretstore --release
`Then:
1.
` npm run start` launches a cluster of 3 configured Secret Store nodes which you can find in nodes_ss_dev/. The nodes also have their respective chain db and log files here.
2. `npm test`
3. `npm run stop` to stop the nodes when you are doneYou can wipe the local chan db and secret store db with
`npm run clear` if needed.
It might be the case that you need to send some funds for the test accounts. You can use the fund script for this purpose.
`
./fund.sh address1 address2 address3 ..
``