Code Sample

Utilizing the Bitski SDK, you can easily add Bitski as an Injected Wallet option for your Dapps.

app.tsx
import { Bitski } from 'bitski';

const bitski = new Bitski(
  'your-client-id'
  'https://your-callback-url.com/callback',
);

bitski.initialize();

// For a full list of networks, see: https://github.com/BitskiCo/bitski-js/blob/main/packages/bitski/src/index.ts#L282-L302
window.ethereum = bitski.getProvider({ networkName: 'mainnet' });

For more detailed integrations with our SDK using third-party Web3 libraries, see our SDK documentation.