Skip to content
/ wallet Public

Golang implementation of Ethereum wallets based on ECDSA private keys derived from 24 mnemonic word list.

Notifications You must be signed in to change notification settings

rluisr/wallet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wallet

binary use

wallet cre

library use

package main

import (
	"fmt"

	"github.com/ethereum/go-ethereum/common/hexutil"
	"github.com/rluisr/wallet/pkg/wallet"
	"github.com/spf13/cobra"
)

func main() {
	var wal *wallet.Wallet
	{
		wal = wallet.New(wallet.Config{})
	}

	{
		fmt.Printf("paddress    %s\n", wal.Add)
		fmt.Printf("privatek    %s\n", hexutil.EncodeBig(wal.Pri.D))
		fmt.Printf("mnemonic    %s\n", wal.Mne)
	}
}
paddress    0x258e...b5Df
privatek    0x818a...400a
mnemonic    tea choral speed ... teddy moon brother

About

Golang implementation of Ethereum wallets based on ECDSA private keys derived from 24 mnemonic word list.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages