1.0.37 ā€¢ Published 4 years ago

sandblock-chain-sdk-js v1.0.37

Weekly downloads
18
License
ISC
Repository
github
Last release
4 years ago

Sandblock Chain JS SDK


šŸ‘‹ Welcome to the official Sandblock Chain Javascript SDK!

āš ļø This is beta software. Some features may not work as intended at the very beginning.

šŸ¤“ All contributions are more than welcome! Feel free to fork the repository and create a Pull Request!


Project Architecture

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.

Usage

Feel free to have a look to the tests suite to have a look how to use the JS SDK.

Development

We are using Yarn as package manager. Then, you can install the dependencies by typing

$ yarn

Testing

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.