找到约 13 条结果

文章 入门智能合约 | 数据存储以太坊链|发行一个代币|实现代币转账查询等功能

...rt`这两处不是很明白。 **错误处理:Assert, Require, Revert and Exceptions** 便利函数 `assert` 和 `require` 可用于检查条件并在条件不满足时抛出异常。`assert` 函数只能用于测试内部错误,并检查非变量。 `require` 函数用于确认条件有...

文章 多标量乘法的带符号桶索引

...进位! if (s[i] >= L/2) { s[i] = L - s[i]; // note: we subtract L and negate at once // 注意: 我们同时减去 L 并取反 carry = 1; addToBucket(-point, s[i]); // use negated point // 使用取反的点 } else { carry = 0; addToBucket(point, s[i]); } } ``` 警告...

文章 以太坊2.0中的MEV - 初步探索

...与最终确定的信息 [https://our.status.im/two-point-oh-justification-and-finalization/](https://our.status.im/two-point-oh-justification-and-finalization/) [↩](https://learnblockchain.cn/article/12056/mev-eth2#fnref-1) 2. MEV 是代表可以在区块链上提取许可以外的交易的重新...

文章 Initia:用于交织 Rollup 部署的 Cosmos L1

...块化](https://celestia.org/learn/basics-of-modular-blockchains/modular-and-monolithic-blockchains/) 的 [Cosmos](https://cosmos.network/) Layer 1 区块链,它集成了 Layer 2 应用专用基础设施系统,作为创建相互交织的 [rollups](https://ethereum.org/developers/docs/scaling/opt...

文章 EigenLayer:为区块链提供 Restaking 和链上安全

...ntralized application (dApp)(去中心化应用程序)](https://www.algorand.foundation/news/what-is-a-dapp-decentralized-apps-explained) 都需要一个新的区块链,该区块链利用其自身的信任网络。 ### 以太坊在区块链系统中的创新 2015 年,以太坊区块链在经...

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

...tion.setProvider(App.web3Provider); // Use our contract to retrieve and mark the adopted pets return App.markAdopted(); }); return App.bindEvents(); }, bindEvents: function() { $(document).on('click', '.btn-adopt', App.handleAdopt); }, markAdopted: function(ado...

文章 每周以太坊进展2021/10/23

...比 Arbitrum 和 Optimism 的错误性证明](https://medium.com/@cpbuckland88/fraud-proofs-and-virtual-machines-2826a3412099) - 论文:[带验证功能的桥接系统](https://stonecoldpat.github.io/images/validatingbridges.pdf) ## 开发者材料 - js-ethereum-cryptography [v0.2.0](https:...

文章 钱包开发中 MPC 算法实践

... 我们都知道,主流的 MPC 算法有一下几种 - GG18: Gennaro and Goldfeder, 2018 - GG20: Gennaro and Goldfeder, 2020 - DKLS: 分布式密钥生成 - DKLS19: 改进版 DKLS - CGGMP: 分布式密钥生成 - CCLST: 跨链轻量级协议 - DMZ+21: 高效密钥生成和签名 - Stins...

文章 DCalendar:在量子时代掌控你的时间

...优的专注时间。](https://insights.ncog.earth/decentralized-calendars-and-emails/) 确保你的历史和承诺持续存在,即使网络架构发生变化。 在某种程度上,你的日历是你抗量子的时间账本——被维护、不可变、私密。 ## 实践和实际应用 ...

文章 每周以太坊进展 2020/03/09

...用 Solc v0.6.3 * [理解事件日志](https://medium.com/mycrypto/understanding-event-logs-on-the-ethereum-blockchain-f4ae7ba50378) * [用于快速部署前端的 Terminal 和 IPFS](https://medium.com/coinmonks/terminal-co-ipfs-web3-deployment-simplified-da70efee7e74) * [Argent 提供的可快...

文章 使用 Viem.sh 读取NFT合约信息

...06) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time (Use `node --trace-warnings ...` to show where the warning was created) NFT持有人地址: 0x6897625C2Da7E985e9c22E0d7B27A960Fc81D1D2 NFT元数据URI: ipfs://QmY9wa5FssaBBhLyyC2r649rwfS7CcvH7N...

问题 用pancakeswap交易自己的带回流跟分红功能的代币,卖出代币以及添加流动性正常,但是买入跟撤出流动性就失败了

...ess"); console.log(from,to,amount); console.log('inSwapAndLiquify',inSwapAndLiquify); console.log(balanceOf(from),balanceOf(to)); require(amount > 0 && amount = _tTotalMaxFee) { takeFee = false; }else{ //必须...

文章 以太坊的共识转变关乎着加密货币的未来

...632a69eac0364.jpg!/scale/40) 来源:https://www.economist.com/finance-and-economics/2022/09/06/the-future-of-crypto-is-at-stake-in-ethereums-switch 获取更多加密货币封面,请阅读 [*most powerful people in crypto*](https://www.economist.com/christmas-specials/2021/12/18/the-most...