Bitski’s JavaScript SDK is a standalone library which makes it easy to connect your Dapp to Bitski’s OAuth2 authentication/authorization flow, and provides users a well-known interface for interacting with Web3 via username and password. Unlike other Web3 SDKs, Bitski doesn’t have an opinionated approach to interacting with EVM-based chains like Ethereum, and works generally as a provider for any Web3-compatible library.Documentation Index
Fetch the complete documentation index at: https://docs.bitski.com/llms.txt
Use this file to discover all available pages before exploring further.
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.