https://github.com/devstackq/smart-contract-golang
learn smart contract with Etherium, using Solidity, go-etherium library, abigen tools and relation for all with go application for management contracts
https://github.com/devstackq/smart-contract-golang
Last synced: 10 months ago
JSON representation
learn smart contract with Etherium, using Solidity, go-etherium library, abigen tools and relation for all with go application for management contracts
- Host: GitHub
- URL: https://github.com/devstackq/smart-contract-golang
- Owner: devstackq
- Created: 2023-09-25T15:52:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-02T08:34:39.000Z (over 2 years ago)
- Last Synced: 2025-06-20T00:03:09.772Z (12 months ago)
- Language: Go
- Homepage:
- Size: 127 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
Pet project: smart-contract 2023
SC: have 3 side - Eth api; Solidity code, Golang -
-Solidity compiler - deploy Eth-machine;
Then - (abi -> convert -> go)
-Go-for communicate Eth api
commands:
solc --bin --abi solidity/todo.sol -o build
- Solidity compiler build from solidity file -> abi/bin files for create Abigen -> create Go file
abigen --bin=build/Todo.bin --abi=build/Todo.abi --pkg=todo --out=gen/todo.go
- abigen from bin/abigen -> generate go file