tzgen

command module
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: MIT Imports: 1 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 Hello --pkg contracts --address KT1K3ZqbYq1bCwpSPNX9xBgQd8CaYxRVXd4P -o ./contracts/Hello.go

The endpoint is https://ghostnet.smartpy.io by default, but can be overridden with --endpoint.

From a micheline file
tzgen --name Hello --pkg contracts --src ./Hello.json -o ./contracts/Hello.go

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
pkg
ast
bind
Package bind contains utility functions and types that are used by generated contract code.
Package bind contains utility functions and types that are used by generated contract code.

Jump to

Keyboard shortcuts

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