找到约 13 条结果

文章 Solidity:使用 Ethers.js 的 Solidity 存储变量

...Location); const stringData = utils.toUtf8String( storageValue.and(MaxUint256.sub(255)).toHexString() ); return stringData.replace(/\x00/g, ''); } async function getLongStr(slot, contractAddress) { const paddedSlot = utils.hexZeroPad(slot, 32); const storageReference = awai...

文章 使用 jcc-ethereum-tool 实现与以太坊的交互

https://github.com/JCCDex/jcc-ethereum-tool jcc-ethereum-tool is a command tool, which is can be use to transfer, query balance, manipute ERC20, ERC721 by parameters or config file. jcc-ethereum-tool 是一个命令行工具,可以快速的通过参数或者配置文件形式操作 ETH 链,...

文章 scaffold-eth 挑战:将合约部署到测试网(Part4)

...x96918Bd0EeAF5BBe10deD67f796ef44b2f5cb2A3 💾 Artifacts (address, abi, and args) saved to: packages/hardhat/artifacts/ 💽 Publishing ExampleExternalContract to ../react-app/src/contracts 📠 Published ExampleExternalContract to the frontend. 💽 Publishing Staker to ../react-app/src...

文章 使用 Hardhat 构建全链上 web3 站点

...in } from "vite-plugin-chunk-split"; export default defineConfig(({ command }) => { return { plugins: [ chunkSplitPlugin({ strategy: "single-vendor", }), React(), cdn({ modules: [ { name: "react", relativeModule: "./umd/react.produc...

文章 公布 RetroPGF 第三轮获奖者

...k、Collective Governance、Developer Ecosystem 以及 End User Experience and Adoption。在此处查看完整的获奖贡献者列表[here](https://vote.optimism.io/retropgf/3)。 RetroPGF 是一种经济飞轮,支持对 Optimism Collective 的积极影响。如果没有公共物品资金,...

文章 关于爆炸性的 Runestone 和相关的 Runes 协议的文章

...案链接:[https://l1f.discourse.group/t/brc-20-proposal-for- issuance-and-burn-enhancements-brc20-ip-1/621](https://l1f.discourse.group/t/brc-20-proposal-for-)。 **_ARC-20 协议_** ARC-20 是一种着色币模型,与 Ordinals 协议不同。每个 ARC-20 token 必须由一个 Satoshi 支持...

文章 Aave Gas 优化审计:降低成本的技术

...UserConfigurationMap { /** * @dev Bitmap of the users collaterals and borrows. It is divided in pairs of bits, one pair per asset. * The first bit indicates if an asset is used as collateral by the user, the second whether an * asset is borrowed by the user. */ uint256 da...

文章 交易系统架构演进之路(七):Service Mesh

...时候,William 又发表了一篇文章 《[What’s a service mesh? And why do I need one?](https://buoyant.io/2017/04/25/whats-a-service-mesh-and-why-do-i-need-one/) 》,对 Service Mesh 做了权威的定义: > *A service mesh is a dedicated infrastructure layer for handling service-to...

文章 ETH2挖矿教程:如何成为ETH2 MEDALLA测试网验证者

...rebones+i7&qid=1598263033&sprefix=mini+PC+barebones+,aps,767&sr=8-14) - [SanDisk Ultra 3D NAND 2TB Internal SSD](https://www.amazon.com/SanDisk-Ultra-NAND-Internal-SDSSDH3-2T00-G25/dp/B071KGS72Q/ref=sr_1_2?crid=1KNWA41H1VO9Q&dchild=1&keywords=sandisk+ssd+plus+2tb+internal+ssd+-+sata+iii+6&qid=15982...

文章 DFX-Finance-attack

...rve/contracts/Curve.sol#550` ```solidity /// @notice view deposits and curves minted a given deposit would return /// @param _deposit the full amount of stablecoins you want to deposit. Divided evenly according to the /// prevailing proportions of the numeraire asse...

文章 探讨 Blinks 和 Solana Actions - 链上交互的新标准?

>- 原文链接:https://medium.com/web3-builders-alliance/the-next-standard-for-on-chain-interaction-a-deep-dive-into-blinks-and-actions-af76c0304af2 >- 译者:[AI翻译官](https://learnblockchain.cn/people/19584),校对:[翻译小组](https://learnblockchain.cn/people/412) >- 本文永...

文章 比特币所用的时间锁

...多手续费](https://www.reddit.com/r/Bitcoin/comments/47upgx/nsequence_and_optin_replacebyfee_difference/d0g612x/?context=5)。时间被表示为一个 32 位的非负整数(32 bit integer)。如果 `lock_time` 的值是 0,则这个字段会被忽略掉;如果它的值大于等于 5 0000 0...

文章 sTorgate、章鱼烧等:在ETHNewYork遇见ENS获奖者

...最不重要的)是它通过 ENS 提交-揭示引导了一个类似于 RandDAO 的随机数生成器。创建随机数在游戏、NFT 铸币、赌博等方面至关重要,这让人们有更多的理由购买 ENS 域名作为生成唯一性的一种方式。 ![](https://img.learnblockchain.cn/20...