Ethereum Providers
Supported Networks
Chain ID
Network Name
Network Variable
Initialize Web3
const appId = 'app_id_eg12sf3491azgs520' // Test App ID
const appKey = 'ak_test_ghq1D5s1sfG234sbnhdsw24mnovk313' // Test App Key
const attributes = {
type: 'show'
}
// Initialize Wepin
await Wepin.init(appId, appKey, attributes)
// Obtain the provider from the initialized Wepin.
const provider = Wepin.getProvider({ network: 'ethereum' });Initialize Web3 using web3.js
Web3 using web3.jsInitialize Web3 using ethers.js
Web3 using ethers.jsMethods
Get Accounts
Get Balance
Send Transaction
Contract Call
Last updated
Was this helpful?