Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blockchain contract downloader

CI Checks Go Report Card

Main features

  • Download a verified contract from etherscan
  • Generate contract abi in json
  • Generate golang bindings

Example

download from etherscan

go run cmd/contraget/contraget.go --path=0x34319564f00C924dA8fB52fD8bA6edBfd1FfEdA8 --download-dst=tmp/tellorTest --pkg-dst=pkg/contracts/tellor_test --network=goerli

generate from a local contract

go run cmd/contraget/contraget.go --path=testing/contract.sol --pkg-dst=pkg/contracts/test

also supports vyper

go run cmd/contraget/contraget.go --path=testing/contract.vy --pkg-dst=pkg/contracts/test

Author

@krasi-georgiev.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages