tendermint/docs/spec/scripts/crypto.go

17 lines
267 B
Go
Raw Normal View History

package main
import (
"fmt"
2018-07-02 11:20:27 -07:00
"os"
2018-07-02 11:20:27 -07:00
amino "github.com/tendermint/go-amino"
cryptoAmino "github.com/tendermint/tendermint/crypto/encoding/amino"
)
func main() {
2018-07-02 11:20:27 -07:00
cdc := amino.NewCodec()
cryptoAmino.RegisterAmino(cdc)
2018-07-02 11:20:27 -07:00
cdc.PrintTypes(os.Stdout)
fmt.Println("")
}