找到约 14 条结果

文章 Solana Playground | 18 小时最全 Solana 教程 - 2024 训练营

...rogram] pub mod favorites { use super::*; // Our instruction handler! It sets the user's favorite number and color pub fn set_favorites(context: Context, number: u64, color: String, hobbies: Vec) -> Result { let user_public_key = context.accounts.user.key(); msg!(...

文章 投资者视角下的NFT市场导航

...ww.claritusconsulting.com/insights/nfts-beyond-art-exploring-new-frontiers-and-use-cases/) 所强调的那样,NFT 被用于表示游戏中的资产、独特的角色和独家级别,从而允许玩家真正拥有和交易其数字物品。 像 Axie Infinity 这样的游戏率先将 NFT 集成在...

文章 以太七日谈 • 2021/4/26

...021/04/22/the-layer2-finance-v0-1-mainnet-launches-democratize-defi-simple-and-zero-fees/ **Tether (USDT) 在扩容解决方案 Hermez 上推出** Tether (USDT) 已在 zk-rollup 扩容解决方案 Hermez Network 上推出,希望借此减轻以太坊 gas 费的压力 (Tether 合约一直都...

文章 Rollup 的分類

...本。**\\ \\ medium.com](https://medium.com/taipei-ethereum-meetup/rollup-and-data-availability-227340f1dbd6?source=post_page-----7b3c32b79072---------------------------------------) ## Recap on Rollup 不管是 Validity Rollup 還是 Optimistic Rollup,它們都會將資料上傳到 L1(例如...

文章 深入探讨ERC-4337的主要组成部分:使用Alt Mempool的账户抽象——第二部分

... [声誉系统](https://eips.ethereum.org/EIPS/eip-4337#reputation-scoring-and-throttlingbanning-for-global-entities),使支付者对后续回退失败负责,并可能受到限流或禁用。 ## 处理用户操作 `EntryPoint` 实现了许多在 [ERC 草案](https://eips.ethereum.org/EIPS/...

文章 手把手教你实现TokenBank智能合约

...nt256) balances; // Mapping of owner addresses to spender addresses and their allowances mapping(address => mapping(address => uint256)) allowances; // Event emitted when tokens are transferred event Transfer(address indexed from, address indexed to, uint256 value); //...

文章 如何在 BuildBear 沙盒中使用 Hardhat 和 Foundry 部署和 Sourcify 验证

...RL 将遵循以下格式:`https://rpc.buildbear/verify/sourcify/server/{sandboxId or customRPC}.` ``` forge create --rpc-url https://rpc.dev.buildbear.io/sanam --private-key 670e8f5f547a3bc4bd1869d473591ff10f6cf0d69a254257b61eca3f242ef188 script/DeployDevelopment.s.sol:DeployDevelopment --veri...

问题 寻求java-websocket监听币安链主网和测试网的日志事件的wss地址

...s to use java-websocket to monitor the log events of Binance Chain mainnet and testnet?

文章 密码学 101:STARKs

...们对 Plonk 的分析](https://learnblockchain.cn/article/10776#:~:text=And%20we%20could%20think%20of%20this%20evaluation%20as%20the%20following%20trace%2C%20visualized%20as%20a%20table%3A) ,检查**计算轨迹**是否满足一组**约束**。在这种情况下,约束总是由相同的**状态...

问题 如何判断在一个映射中是否存在某个键,Struct被定义在库中(在Solidity中)。

...`js Operator == not compatible with types struct Library.data storage ref and address E if(clusterContract[id] == address(0) ){... ``` 请问:我该怎么解决这个错误呢? 谢谢你宝贵的时间和帮助。

文章 SUI Move官方示例合约实践——FT类:监管币(regulated_coin)

...r::public_transfer(zero(for, ctx), for) } /// Ban some address and forbid making any transactions from or to this address. /// Only owner of the AbcTreasuryCap can perform this action. public entry fun ban(_cap: &AbcTreasuryCap, registry: &mut Registry, to_ban: address) { ...

问题 remix-别人已经部署成功的合约代码,我复制过来可以编译成功,但是在部署的时候提示错误

...tial state. Note: The called function should be payable if you send value and the value you send should be less than your current balance. Debug the transaction to get more information. 这个合约代码我见过在很多合约上用过,应该是个通用的代码,试过虚拟机、测试...

文章 如何使用JavaScript在TRON上部署和互动智能合约

...m/signup?utm_source=internal&utm_campaign=guides&utm_content=how-to-deploy-and-interact-with-smart-contracts-on-tron) 注册一个免费的帐户。 > 在本指南中,我们将使用 TRON Nile 测试网以方便开发。因此,我们将利用公共端点进行开发。但是,我们建议在 T...

文章 引介: Alloy - 与以太坊智能合约交互 Rust 库

...=INFO cargo run -- --address 0x88d0af73508452c1a453356b3fac26525aec23a2 and the output is going to be: RUST_LOG=INFO cargo run -- --address 0x88d0af73508452c1a453356b3fac26525aec23a2 Compiling ens-resolution v0.1.0 (/Users/leboiko/Documents/ens-resolution) Finished `dev` profile [...