diff --git a/address.go b/wallet.go similarity index 91% rename from address.go rename to wallet.go index 8c26e3a..e9c3a1b 100644 --- a/address.go +++ b/wallet.go @@ -37,7 +37,12 @@ func (w Wallet) GetAddress() []byte { return address } -// NewWallet ... +// SaveToFile saves the wallet to a file +func (w Wallet) SaveToFile() { + +} + +// NewWallet creates and returns a Wallet func NewWallet() *Wallet { private, public := newKeyPair() wallet := Wallet{private, public}