Skip to content

go-tezos Is a Golang library that exposes the Tezos RPC, along with some helper functions that may be used in common scenarios. It is currently under development.

License

Notifications You must be signed in to change notification settings

Blockchainpartner/go-tezos

 
 

Repository files navigation

goTezos: A Tezos Go Library

The purpose of this library is to allow developers to build go driven applications for Tezos of the Tezos RPC. This library is a work in progress, and not complete.

More robust documentation will come soon.

Installation

Get goTezos

go get github.com/DefinitelyNotAGoat/goTezos

goTezos Documentation

GoDoc

The goTezos Library requires you to set the RPC URL for a node to query.

Usage:

package main

import (
	"fmt"
	goTezos "github.com/DefinitelyNotAGoat/go-tezos"
)

func main() {
	gt := goTezos.NewGoTezos()
	gt.AddNewClient(goTezos.NewTezosRPCClient("localhost",":8732"))

	block,_ := gt.GetBlockAtLevel(1000)
	fmt.Println(block.Hash)
}

I will create a wiki shortly describing the functions available.

Contributers

See the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

go-tezos Is a Golang library that exposes the Tezos RPC, along with some helper functions that may be used in common scenarios. It is currently under development.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%