找到约 12 条结果

文章 基于 ZK 的资产证明

...The timestamp at which the CEX took the snapshot of its assets and liabilities */ function submitCommitment( uint256 mstRoot, uint256[] memory rootBalances, Cryptocurrency[] memory cryptocurrencies, uint256 timestamp) public onlyOwner { /** * @dev Struct identifyi...

文章 Sui Move 调试Debugging和test_scenario单测工具使用

...::/#first-test} // docs::#test-dummy // Create a dummy address and transfer the sword let dummy_address = @0xCAFE; transfer::public_transfer(sword, dummy_address); // docs::/#test-dummy } #[test] fun test_sword_transactions() { use sui::test_scenario; // C...

文章 探索加密货币中的代币经济学:理解权益证明的铸币

... [Toggle](https://blockapps.net/blog/exploring-tokenomics-in-crypto-understanding-proof-of-stake-minting/#) ## 理解权益证明(PoS) 在**代币经济学**的基本原则之上,权益证明(PoS)代表了一种革命性的区块链共识机制方法。根据 [Shardeum](https://shardeum....

文章 利用 Chainlink VRF 实现100 Token抽奖:从名单中随机选出幸运得主的完整指南

...实现步骤。 ## Chainlink VRF概述 **Chainlink VRF (Verifiable Random Function)** is a provably fair and verifiable random number generator (RNG) that enables smart contracts to access random values without compromising security or usability. For each request, Chainlink VRF generates one o...

文章 OpenBuild Starknet Bootcamp任务3:Starknet Foundry合约测试代码错误修复及部署和交互测试

...ress, #[key] new_owner: ContractAddress, } #[constructor] fn constructor(ref self: ContractState, initial_owner: ContractAddress) { self.owner.write(initial_owner); self.data.write(1); // Any variable of the storage that is not initialized ...

文章 合适的密码哈希器和内存破坏者:Argon2

...应用程序的内存硬函数(Memory-Hard Function for Password Hashing and Proof-of-Work Applications)”,用于密码哈希、密钥派生和工作量证明: ![](https://img.learnblockchain.cn/2025/04/24/17mnfCNI5eq8QdtThKNME2A.png) 主要变体是为 x86 架构优化的 Argon2id。它...

文章 购买前分析 NFT 的价值

...么它们有价值?](https://www.theblock.co/learn/251483/what-is-a-nft-and-why-do-they-have-value) 中提到的,NFT 的稀缺性是使其有价值的一个基本方面。NFT 在一个系列中,其特征或属性越稀有,其潜在价值就越高。 例如,在 CryptoPunks 系列中,只...

文章 深入理解 Aptos Move 中的 Object 创建与管理

... use aptos_framework::object::{self, ObjectCore}; entry fun create_and_transfer(caller: &signer, destination: address) { // Create object let caller_address = signer::address_of(caller); let constructor_ref = object::create_object(caller_address); // Set up the object ...

文章 接入Chainlink喂价开发DeFi看涨期权交易平台实例

... require(tokenHash == ethHash || tokenHash == linkHash, "Only ETH and LINK tokens are supported"); updatePrices(); if (tokenHash == ethHash) { require(msg.value == tknAmt, "Incorrect amount of ETH supplied"); uint latestCost = strike.mul(tknAmt)....

文章 人工智能在NFT创作中的整合

...dweb](https://blog.thirdweb.com/guides/how-to-use-ai-generated-game-assets-and-mint-as-nft/) 所解释的那样,AI 可用于生成然后铸造为 NFT 的资产,为玩家提供身临其境且不断扩展的游戏体验。 AI 驱动的 NFT 创建的可访问性也是一个显着的优势。 [Open...

文章 领航Web3安全,让数字生活更安全更美好:SharkTeam线上AMA实录

...** **:** 典型客户包括DeFi、NFT、GameFi等类型项目,如Revoland、EverPay、MetaBitcoin、CryptoKittys3D等。SharkTeam与火币全球、OKC、Polygon、Polkadot、imToken、ChainIDE等区块链生态多个领域的主要参与者均建立了长期战略合作关系。 ## **问题6...

文章 Mina Learning - Smart Contracts

...来编写智能合约, 示例如下: ```ts let zkAppKey = PrivateKey.random(); let zkAppAddress = PublicKey.fromPrivateKey(zkAppKey); let zkApp = new HelloWorld(zkAppAddress); ``` ### zkApp Accounts 在 Mina 上, 普通用户账户和 zkApp 账户之间并没有很大的区别. zkApp...