找到约 15 条结果

问题 想请教你关于在以太主网部署合约的报错问题

...但是拿remix最简单的Storage和Owner的示例合约就能正常谈出metamask ![image.png](https://img.learnblockchain.cn/attachments/2023/05/tdyiO3Md6475a5cdba8a3.png) 希望各位大佬们能给出宝贵的意见,感谢!

问题 DAPP前后端交互遇到的问题

...发DAPP案例,在搭建好服务器跑的时候,一个是报错提示metamask不再支持inject web3了,还有一个报错是提示web3.eth.contract is not a function,后者大概率是更新换代后的web3语法问题,前面一个问题主要原因是什么呢?还有一堆警告。![ab...

问题 使用纯ethers.js和本地hardhat智能合约交互的问题。

之前使用ethers.js加上前端和metamask的配合能正常和合约交互。但这样太麻烦了,我想直接用纯ethers.js和合约交互,这样可能10几秒就能做完需要前端几分钟才能完成的操作。研究了很久后写了以下代码,但执行起来仍然报错。不...

问题 uniswap前端修改到heco上面 用的mdexswap的路由报错Failed to fetch multicall chunk

Failed to fetch multicall chunk inpage.js:1 MetaMask - RPC Error: Internal JSON-RPC error 打包后的代码:https://github.com/q573927428/lfafa 用uniswap到heco上面,直接用的mdex的路由、工厂 和 multiccall 合约:https://github.com/mdexSwap/hswap ``` factory: 0xb0b67...

问题 golang语言调用以太坊测试网的合约一直失败

# 问题描述 大概是这样的问题,我通过页面调用(metamask)和通过代码(golang)调用,通过区块链浏览器查询两笔交易,发现很多几乎一样,但是代码调用就是一直失败,报什么`msg.value`错误,这个值我明明设置了。我挑两笔主要的交...

问题 使用web3.js获取区块链上的数据提示获取不到链

...ddEventListener("load", function() { if (window.ethereum) { // use MetaMask's provider App.web3 = new Web3(window.ethereum); window.ethereum.enable(); // get permission to access accounts } else { console.warn( "No web3 detected. Falling back to http://127.0.0.1:85...

问题 手机钱包Dapp send发送交易后,后续代码不执行(电脑端没问题)

...ddEventListener("load", function() { if (window.ethereum) { // use MetaMask's provider App.web3 = new Web3(window.ethereum); window.ethereum.enable(); // get permission to access accounts } else { console.warn( "No web3 detected. Falling back to http://127.0.0.1:8545...

问题 web3js调用合约报错

...0}).then((res) => { console.log(res) }) } ``` 报错: ``` MetaMask - RPC Error: [ethjs-query] while formatting outputs from RPC '{"value":{"code":-32603,"data":{"message":"VM Exception while processing transaction: revert","stack":"RuntimeError: VM Exception while processing transac...

问题 【区块链人才招聘】急招前后端,智能合约开发工程师

...、交易生命周期等原理;熟悉Web3接口(web3.js/ethers.js等),Metamask钱包调用;了解IPFS基本概念 5. 了解DeFi/NFT生态项目,包括但不限于Uniswap、CryptoKitties、OpenSea、Rarible等;具有区块链浏览器、交易所、DApp等项目开发经验者优先 【...

问题 remix部署合约失败

...learnblockchain.cn/attachments/2020/02/6UcLMhu85e54b6e6ec9ee.png) 这是metamask, ![image.png](https://img.learnblockchain.cn/attachments/2020/02/jHJ6dqqx5e54b722d2553.png) 这是日志的一部分 ``` INFO [02-25|13:49:30.391] Successfully sealed new block number=1350 sealha...

问题 最近写了一个nft, 用ganache调试是没有问题的,也可以成功运行。但是转接到私链geth上,合约就交户不了。想问下各位帅哥这可能是出现了什么问题呢?

...xokASw61eb7c7d7ffe6.png) 然后随便找一个ganache上面的账户连接metamask钱包: ![image.png](https://img.learnblockchain.cn/attachments/2022/01/FTi7Zjy761eb7d993e71d.png) 然后进行提交信息,进行合约交户 ![image.png](https://img.learnblockchain.cn/attachments/2022/01...

问题 关于宠物商店Dapp案例实现的问题报错Contract has not been deployed to detected network (network/artifact mismatch)

...cted web3 instance is detected, fall back to Ganache // 优先调用MetaMask提供的web3的实例 App.web3Provider = new Web3.providers.HttpProvider('http://localhost:8545'); } web3 = new Web3(App.web3Provider); return App.initContract(); }, initContract: func...

问题 Error: Transaction has been reverted by the EVM:

...accounts = res }) console.log(window.ethereum) console.log('MetaMask is installed!'); } else { this.$message.error('This is an error message'); } } } ``` 报错:Error: Transaction has been reverted by the EVM: ![image.png](https://img.learnblockchain.cn/atta...

问题 USDT在授权时候提示 RPC Error: Internal JSON-RPC error.

... this.loadContract(); } else { console.error('请安装MetaMask插件'); } }, async loadAccount() { const accounts = await this.web3.eth.getAccounts(); this.account = accounts[0]; }, async loadContract() { const contract = new this....

问题 【区块链人才招聘】牛津(海南)区块链研究院区块链开发,研究岗位招聘

...、交易生命周期等原理;熟悉Web3接口(web3.js/ethers.js等),Metamask钱包调用;了解IPFS基本概念 5. 了解DeFi/NFT生态项目,包括但不限于Uniswap、CryptoKitties、OpenSea、Rarible等;具有区块链浏览器、交易所、DApp等项目开发经验者优先 【...