separb beta
This commit is contained in:
@@ -167,24 +167,6 @@ export async function switchChain(chainId) {
|
||||
}
|
||||
|
||||
|
||||
export async function addTestnet() {
|
||||
const info = {
|
||||
"chainId": "0x539",
|
||||
"chainName": "Dexorder Alpha Testnet",
|
||||
"rpcUrls": ["https://rpc.alpha.dexorder.trade"],
|
||||
"nativeCurrency": {
|
||||
"name": "Test Ethereum",
|
||||
"symbol": "TETH",
|
||||
"decimals": 18
|
||||
}
|
||||
};
|
||||
await window.ethereum.request({
|
||||
"method": "wallet_addEthereumChain",
|
||||
"params": [info]
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
function discoverVaults(owner) {
|
||||
const s = useStore()
|
||||
console.log('discoverVaults', owner)
|
||||
|
||||
Reference in New Issue
Block a user