Skip to content

Instantly share code, notes, and snippets.

@chanioxaris
chanioxaris / ethereum_sign_verify_message.go
Created May 28, 2022 10:41
Sign and verify a message using go-ethereum
package main
import (
"crypto/ecdsa"
"fmt"
"log"
"golang.org/x/crypto/sha3"
"github.com/ethereum/go-ethereum/accounts"