Skip to content

HurleyWong/Golid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golid

Goild is a combination of Go and Solidity. It is used to describe something truly amazing.

🧐 What's inside?

A quick look at the files and directories of this Golid project.

.
├── Blockchain
│   └── python
│       ├── Pipfile
│       ├── Pipfile.lock
│       └── blockchain.py
├── Contracts
│   ├── access
│   ├── crypto
│   ├── math
│   ├── payment
│   └── utils
├── Go
│   ├── gee
│   └── go_basic_synatx
│       └── src
│           ├── array
│           ├── condition
│           ├── constant
│           ├── fib
│           ├── func
│           ├── hello
│           ├── loop
│           ├── map
│           ├── operate
│           ├── slice
│           ├── test
│           └── type
├── LICENSE
├── README.md
├── Solidity
│   ├── contract
│   ├── example
│   └── synatx
└── Truffle
    ├── proof
    │   ├── build
    │   ├── contracts
    │   ├── migrations
    │   ├── test
    │   └── truffle-config.js
    └── solidity
  1. Blockchain:利用不同的语言实现一个简单的区块链
  2. Contracts:Using battle-tested libraries of smart contracts for Ethereum and other blockchains
  3. Go:用 Go 从零实现常用框架
  4. Solidity:基本语法和使用案例
  5. Truffle:结合 Truffle 框架来部署合约
Contracts 目录

├── Contracts
│   ├── access
│   │   └── Ownable.sol
│   ├── crypto
│   │   └── MerkleProof.sol
│   ├── math
│   │   ├── Math.sol
│   │   └── SafeMath.sol
│   ├── payment
│   │   ├── ConditionalEscrow.sol
│   │   ├── Escrow.sol
│   │   └── RefundEscrow.sol
│   └── utils
│       ├── Address.sol
│       ├── Context.sol
│       ├── Counters.sol
│       ├── Create.sol
│       ├── Map.sol
│       ├── Pausable.sol
│       ├── ReentrancyGuard.sol
│       ├── SafeCast.sol
│       └── Strings.sol
Go 框架目录

├── Go
│   ├── gee
│   │   └── http
│   │       ├── base1
│   │       │   └── main.go
│   │       ├── base2
│   │       │   └── main.go
│   │       └── base3
│   │           ├── gee
│   │           │   ├── gee.go
│   │           │   └── go.mod
│   │           ├── go.mod
│   │           └── main.go