Example Usage
Below includes examples of signing in with Bitski via our SDK and leveraging our provider to sign a message via the most common EVM-based libraries today.ethers.js
See an example of Bitski + ethers.js. This approach is recommended if you prefer to use JSON RPC Methods via the ethers’s providers’
send
function.web3.js
See an example of Bitski + web3.js. This approach is recommended if you prefer to have JSON RPC Methods abstracted via function calls.
viem
See an example of Bitski + viem. This approach is recommended if you prefer a Typescript-safe and more opinionated framework of working with Web3 calls.
For more info on Bitski’s JavaScript SDK, see our Github repo.