Skip to content

cryptoriums/contraget

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

No releases published

Packages

No packages published