为什么会有 EIP-1193
在区块链技术和加密货币的不断演进中,提升用户体验和确保应用程序的互操作性是至关重要的。Ethereum Improvement Proposal(EIP)1193 就是在这样的背景下诞生的,
作者文章归档:wyfblues@163.com
在区块链技术和加密货币的不断演进中,提升用户体验和确保应用程序的互操作性是至关重要的。Ethereum Improvement Proposal(EIP)1193 就是在这样的背景下诞生的,
使用etherjs库旧版本可以达到此效果,evm的链都可用。注意, 这里的ethers版本为5.7.2,6.x版本是不行的
const ethers = require('ethers');
// 实例getRequestParamconst getRequestParam = (href) => {
href = decodeURI(href?href:window.locatchrome.management.getAll((rs: any) => {
npm i ethereum-in