Web3.js Integration - Ethereum / Arbitrum / Optimism / Polygon / BSC / Avalanche / Tron
Blocto injects web3 provider to web context so dApps can interact with blockchain
Injection
import Web3 from 'web3';
// use the provider to instantiate web3 onject
const web3 = new Web3(window.ethereum);
console.log(window.ethereum.isBlocto);
// prints TrueLast updated
Was this helpful?