forge

package
v3.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2020 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Encode

func Encode(branch string, contents ...rpc.Content) (string, error)

Encode forges an operation locally. GoTezos does not use the RPC or a trusted source to forge operations. All operations are supported:

  • Endorsement
  • Proposals
  • Ballot
  • SeedNonceRevelation
  • DoubleEndorsementEvidence
  • DoubleBakingEvidence
  • ActivateAccount
  • Reveal
  • Transaction
  • Origination
  • Delegation

Parameters:

branch:
	The branch to forge the operation on.

contents:
	The operation contents to be formed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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