Skip to content

Instantly share code, notes, and snippets.

@liamsi
liamsi / dump_tx.go
Last active March 20, 2019 12:08
Unmarshal TX
package main
import (
"encoding/base64"
"fmt"
"github.com/cosmos/cosmos-sdk/codec"
"github.com/cosmos/cosmos-sdk/x/auth"
distr "github.com/cosmos/cosmos-sdk/x/distribution"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/cosmos/cosmos-sdk/x/bank"
@liamsi
liamsi / custom_amino.go
Last active January 15, 2019 15:14
Custom marshaller
package main
import (
"fmt"
"github.com/tendermint/go-amino"
)
type HelloType struct {
}
package main
import (
"fmt"
"crypto/sha256"
"github.com/btcsuite/btcd/btcec"
)
func main() {
This file has been truncated, but you can view the full file.
Index: README.md
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/README.md b/README.md
--- a/README.md (revision 079be9b31d47472217278460a5b25183156695cc)
+++ b/README.md (revision a9b7b4818e8d6a6622163927bef667eff2dca2dd)
@@ -1,147 +1,71 @@
-# Tendermint