Developer Guide
The easiest way to connect to Viction Wallet
function getProvider() {
const provider = window.viction;
if (!provider) {
return window.open('https://chrome.google.com/webstore/detail/tomo-wallet/nopnfnlbinpfoihclomelncopjiioain?hl=vi');
}
return provider;
}To detect Viction Wallet Extension
if(window.Viction ){
console.log('Viction Extension is installed!');
}To connect Viction Wallet Extension
Access a user's accounts
Handle accounts
To check if Dapp connected
To disconnect Viction Wallet Extension
To experience functions
Account
How to get Current Account
Sign Transaction
Personal_sign
eth_signTypedData_v4
personal_ecRecover
Transfer
eth_sendTransaction
Decrypt & Encrypt
eth_decrypt
eth_getEncryptionPublicKey
Encrypt
List of events
Events
Trigger
Method
Description
Last updated