-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
15 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package wallet | ||
|
||
import "github.com/george012/blockchain_box/coin_flags" | ||
|
||
type Wallet struct { | ||
Coin coin_flags.CoinFlag // 币种标识 | ||
CoinName string // 币种名称 | ||
WalletAddress string // 钱包地址 | ||
AliasAddress string // 别名地址,针对有多重转换的地址适配预留字段 | ||
AliasAddressAppendZeroX string // 别名地址,针对有多重转换的地址适配预留字段 补充0x开头 | ||
PublicKey string // 公钥 | ||
PrivateKey string // 私钥 | ||
Mnemonic string // 助记词 | ||
} |