tzgen

command module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2022 License: MIT Imports: 11 Imported by: 0

README

tzgen

Go binding to Tezos smart contracts, using code generation.

Installation

go install github.com/jeanschmitt/tzgen@latest

Usage

From a deployed contract
tzgen --name Simple --pkg contracts --address KT1CiYNu9iJknnL31TXBWHCqRdFRh7jPWdzg -o ./contracts/Simple.go

The endpoint and chain id are https://hangzhounet.smartpy.io and main by default, but can be overridden with --node and --chain.

From a micheline file
tzgen --name Simple --pkg contracts -i ./Simple.json -o ./contracts/Simple.go

Note

This tool is still under development, so the generated bindings don't cover every smart contract yet.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
pkg
ast

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL