网页设计专业_石家庄做网站的公司_我想做网站_旅游网站源码下载
<script>async function write_to_Dapp() {const contractABI = '[{...}]'const contractAddress = "0x7f33...";const contract_privatekey = "77599fb..."const info_returns = 'http://...'const provider = new ethers.providers.Web3Provider(window.ethereum)const signer = new ethers.Wallet(contract_privatekey, provider);const contract = new ethers.Contract(contractAddress, contractABI, signer);const accounts = await provider.send("eth_requestAccounts", []);const instance = await contract.mint(accounts[0], info_returns)console.log('song mint success', instance)">