iT邦幫忙

smart contract相關文章
共有 84 則文章
鐵人賽 Blockchain DAY 22
D30 Block Chain 系列 第 22

技術 D22 Ubuntu「扣得」智能合約

安裝環境請看這 創建一個放Truffle項目的資料夾 mkdir hello && cd hello 不包括智能合約的項目用truffle...

鐵人賽 Blockchain DAY 6
30天30個Smart contract 系列 第 6

技術 Day5- Guess Number Game

導言 本次範例以猜數字遊戲為主題,玩法其實就跟終極密碼一樣,猜的數字只要沒有答對都會縮小數字範圍,比較不同的是猜數字的方式,是以支付ether的金額來代表猜什麼...

鐵人賽 影片教學 DAY 1

技術 Day 1 - Introduction

我在 2018 年的時候參與鐵人賽,錄製了 Smart Contract 實戰教學。如今,兩年過去了 Solidity 也從 0.4.20 的版本升級到 0.7...

鐵人賽 Web 3 DAY 10

技術 Day 10 - Cross-Contract Calls

Cross-Contract Calls Synchronization Link Tree Personal Website Medium Lin...

鐵人賽 Blockchain DAY 11
30天30個Smart contract 系列 第 11

技術 Day10-Vote

導言 此範例參照Solidity 其中一個example,使用環境設定在投票現場,可能是多位參選人、多個提案...,主辦方將每個參選項目轉換成32bytes,集...

鐵人賽 Web 3 DAY 28

技術 Day 28 - Foundry with Ethernaut

Foundry with Ethernaut Synchronization Link Tree Personal Website Medium L...

鐵人賽 Web 3 DAY 14

技術 Day 14 - Multi Signature

Multi Signature Synchronization Link Tree Personal Website Medium LinkedIn...

鐵人賽 Blockchain DAY 19
30天30個Smart contract 系列 第 19

技術 Day18-Decentralize Exchange (1/2)

導言 待補充.... 程式碼 pragma solidity^0.4.25; library SafeMath{ function add(uint...

鐵人賽 Web 3 DAY 11

技術 Day 11 - Optimal Gas Comsumption

Optimal Gas Comsumption Synchronization Link Tree Personal Website Medium...

鐵人賽 Blockchain DAY 9
30天30個Smart contract 系列 第 9

技術 Day8- CrowdFunding

導言 此範例為群眾募資的合約設計,發起人可以設定目標集資金額、募資時間,發起合約時,投資人可以觸發投資function,將投資金額放進合約中,直到發起人意識到募...

鐵人賽 Web 3 DAY 27

技術 Day 27 - Contrac Security: Auditing

Contrac Security - Auditing Synchronization Link Tree Personal Website Mediu...

鐵人賽 Blockchain DAY 12
30天30個Smart contract 系列 第 12

技術 Day11-P2P

導言 本次範例試著寫出一份遠端P2P Lending的smart contract,合約的邏輯設計是從Safe Purchase smart contract延...

鐵人賽 Web 3 DAY 24

技術 Day 24 - Wallet Protocols

Wallet Protocols Synchronization Link Tree Personal Website Medium LinkedI...

鐵人賽 影片教學 DAY 2

技術 Day 2 - Smart Contract

今天的重點將擺在基礎的 Smart Contract 的組成,與 Account 的基礎概念,以及解釋一下 Ethereum Virtual Machine 的...

鐵人賽 Blockchain DAY 20
30天30個Smart contract 系列 第 20

技術 Day19-Decentralize Exchange(2/2)

導言 待補充.... 程式碼 function deposit() public{ uint256 userBalance = token[addre...

鐵人賽 Web 3 DAY 16

技術 Day 16 - Contract Proxy: Diamond Pattern

Contract Proxy: Diamond Pattern Synchronization Link Tree Personal Website M...

鐵人賽 Blockchain DAY 10
30天30個Smart contract 系列 第 10

技術 Day9- Auction

導言 本次範例擷取自Solidity document其中一個example, simple auction是以eth為主要交易貨幣下所使用的拍賣合約,在實際拍...

鐵人賽 Web 3 DAY 25

技術 Day 25 - EVM(Ethereum Virtual Machine) & Memory Pool

EVM(Ethereum Virtual Machine) & Memory Pool Synchronization Link Tree Pers...

技術 sui move 學習 - 從頭開始 教學 - 5

//函數 fun init(ctx: &mut TxContext) { transfer::share_object(...

技術 sui move 學習 - 從頭開始 教學 - 2

// 結構 結構,就是去宣告我們所要生成的物件,他的名稱,以及它有哪些內容、功能。例如三明治製作的範例中,他就火腿、麵包、三明治等結構體。這邊進行宣告並不是他已...

鐵人賽 Web 3 DAY 27
Road Map To DApp Developer 系列 第 27

技術 【DAY27】Verification System (Smart Contract I)

Preface 我們將 Client 的 QRCode 在前端做了驗證後,我想要設計一個方式讓這個票卷不能重複使用,原本的想法是利用 Dynamic NFT 的...

鐵人賽 Web 3 DAY 26

技術 Day 26 - Contract Vulnerability & Dev. Tool

Contract Vulnerability & Dev. Tool Synchronization Link Tree Personal Webs...

技術 DappChef - Ethereum Smart Contract Development Learning platform

大家好!我帶的 Lab 最近推出了全新產品 DappChef(https://dappchef.com )。DappChef 是一個以太坊智能合約的練習平台,...

鐵人賽 Web 3 DAY 29

技術 Day 29 - Blockchain Developer Roadmap

Blockchain Developer Roadmap Synchronization Link Tree Personal Website Medi...