Bitski Node Provider
A Bitski powered Web3 provider for Node environments, and App Wallet.
npm install --save bitski-node
Start by importing the SDK, as well as Web3. Then, create the provider by calling
getProvider() and pass it to Web3. The only required parameter is a client id.
const Bitski = ;const Web3 = ;// Create bitski providerconst provider = Bitski;// Create web3 instanceconst web3 = provider;
Usage with App Wallet
If you have an App Wallet, or want to use anything that requires an account you need to pass in your client credentials. You can create these from the developer portal.
const Bitski = ;const Web3 = ;// Configure optionsconst options =credentials:id: 'YOUR CREDENTIAL ID'secret: 'YOUR CREDENTIAL SECRET';// Pass options with the providerconst provider = Bitski;const web3 = provider;
Using other networks
Bitski is compatible with several test networks and sidechains. To use a chain other than mainnet, pass in a network in your options.
const Bitski = ;const Web3 = ;// Configure optionsconst options =network: 'rinkeby';// Pass options with the providerconst provider = Bitski;const web3 = provider;
Bitski provides a “bug bounty” to engage with the security researchers in the community. If you have found a vulnerability in our product or service, please submit a vulnerability report to the Bitski security team.