找到约 12 条结果

文章 超越比特币:探索区块链的多元应用

...ites/bernardmarr/2018/03/23/how-blockchain-will-transform-the-supply-chain-and-logistics-industry/)。 区块链的关键优势之一是它能够提供产品从原产地到目的地完整且透明的记录。通过利用区块链,可以跟踪和验证供应链中的每个步骤,从而创建防...

文章 2022 年学习区块链、DeFi、NFT 的 10 大资源

...。在Metamask上创建钱包。也可以创建其他钱包(如Celo、Algorand、Terra),看看他们的使用体验有何不同。 * 坚持使用Metamask,比如在它和我们的其他钱包之间转账。或者让朋友和我们交易。我们可以使用ETH,但可以使用Ethereum以外的...

文章 zkPoD:区块链,零知识证明与形式化验证,实现无中介、零信任的公平交易

...这个我们以后再展开讲。 ## 参考文献 [1] Pagnia, Henning, and Felix C. Gärtner. On the impossibility of fair exchange without a trusted third party. Technical Report TUD-BS-1999-02, Darmstadt University of Technology, Department of Computer Science, Darmstadt, Germany, 1999. [2] Gar...

文章 如何将PancakeSwap部署到以太坊类链上

...具 ``` npm install sol-merger -g ``` ### Prepare `PancakeFactory` and `PancakeRouter` 因为`PancakeFactory`和`PancakeRouter`的合约代码是好几个文件,我们把它们合并成一个方便部署,都放到build目录下 ``` sol-merger pancake-swap-core/contracts/PancakeFac...

文章 Tip5:代数哈希

...anted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * c...

问题 合约代码中 这几个proxy库作用是什么 里面比较重要的方法解析一下 谢谢

...datasize()) // Call the implementation. // out and outsize are 0 because we don't know the size yet. let result := delegatecall(gas(), implementation, 0, calldatasize(), 0, 0) // Copy the returned data. returndatacopy(0, 0, returnd...

文章 DAOs的基础及其运作方式

目录 [切换](https://blockapps.net/blog/the-basics-of-daos-and-their-functioning/#) ## 去中心化自治组织 (DAO) 简介 去中心化自治组织 (DAO) 是一种革命性的新型组织,它基于区块链技术运作,为决策和资源分配提供了一种去中心化和自治的方法...

文章 全面解析 Rust 模块系统:实战案例与应用技巧

...s // // Execute `rustlings hint modules1` or use the `hint` watch subcommand for a // hint. mod sausage_factory { // Don't let anybody outside of this module see this! fn get_secret_recipe() -> String { String::from("Ginger") } pub fn make_sausage() { ge...

文章 智能合约安全审计入门篇 —— 抢跑

...dress in lowercase + solution + secret). Users can only commit once and if the game is active. */ function commitSolution(bytes32 _solutionHash) public gameActive { Commit storage commit = commits[msg.sender]; require(commit.commitTime == 0, "Already committed"); co...

文章 verge下最节省gas的智能合约写法

... if (right < size) { // the check guarantees that `left` and `right` are both valid uint32 uint32 lIndex = uint32(left); uint32 rIndex = uint32(right); uint256 lValue = self.items[self.tree[lIndex]].value; uint256 rValue = self.it...

文章 二十五年后回顾:尼克·萨博的微支付与精神负担理论

...> > _来源: [https://bitcoinmagazine.com/technical/szabos-micropayments-and-mental-transaction-costs-25-years-later-](https://bitcoinmagazine.com/technical/szabos-micropayments-and-mental-transaction-costs-25-years-later-)_ 如果你每一次在线网页上的连接,都要且只要花费不到...

文章 Bitcoin Optech:2021 比特币技术进展年度回顾

...nops.org/en/newsletters/2021/06/02/#candidate-set-based-csb-block-template-construction) 描述了一种矿工选择在区块中包含哪些交易的另类方法,预计这种新的方法可以在短期内略微提高矿工的利润。在长期中,如果矿工普遍接收了这种方法,意识...