test @brianebert/tss
-
git clone https://github.com/brianebert/ttss.git && cd ttss
-
Install tss using npm:
npm i
- You will need a pair of Stellar accounts for testing. If you have accounts of your own, make sure they have 2.5 XLM available to hold as minimum balance reserve in each account. TestTss will configure your accounts with messageing token offers, post public keys for people to encrypt messages, and an automated signing key.
If you don't have Stellar accounts available, type the line below into your shell to receive a pair of sponsored accounts you can use for testing. Each comes with 1/2 XLM with one uses for sending messages to the other. You can add XLM to either test account and use it to create private accounts for yourself using Stellar Laboratory or another tool. The test accounts will be swept up periodically to recover minimum balance reserves of the sponsoring account.
curl https://tryipfs.io/testAccounts > app.conf
The first time you call /testAccounts there is a delay before the server responds with your account numbers.
- Run test scriot;
npm run test
or
node testTss.js
- Run Webpack
npx webpack
- open index.html with a browser
file://<your ttss parent directory>/ttss/index.html