You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import{Bitski}from'bitski';importWeb3from'web3';// Your setup informationconstendpoint='https://your.skale.endpoint';// your SKALE Chain endpointconstskaleChainId=123456// chainId of your SKALE ChainconsttestAPIKey='your_client_id';constcallbackUrl='https://your.app/oath-callback.html';constbitski=newBitski(testAPIKey,callbackUrl);constnetwork={rpcUrl: endpoint,chainId: skaleChainId,}// Setting networkconstprovider=bitski.getProvider({ network });letweb3=newWeb3(provider);functionloginUser(){bitski.signIn().then(()=>{console.log("sign in successful");});}
The text was updated successfully, but these errors were encountered:
Bitski is a non-custodial OAuth-based Web3 wallet SDK. The Bitski SDK allows you to integrate your dApp with SKALE.
For more information and support, see https://docs.bitski.com/
Install the NPM Packages
Implementation Example
The text was updated successfully, but these errors were encountered: