👋 Welcome to the official Sandblock Chain Javascript SDK!
🤓 All contributions are more than welcome! Feel free to fork the repository and create a Pull Request!
The project is built using TypeScript. It offer client for both explorer API and blockchain API.
It also includes a lot of utils function to interact with wallets, keys and Ledger hardware wallet.
Feel free to have a look to the tests suite to have a look how to use the JS SDK.
We are using Yarn as package manager. Then, you can install the dependencies by typing
$ yarn
We have written a lot of tests, that you can run by typing
$ yarn test
In order to be able to run the tests you will need two things:
- A wallet.json file in the tests folder, which should be a keystore file with some SBC on it. (You can request some using testnet faucet)
- A Ledger connected to the computer, running the Sandblock App.