示例#1
0
 public NEP6Account(NEP6Wallet wallet, UInt160 scriptHash, KeyPair key, string password)
     : this(wallet, scriptHash, key.Export(password, wallet.ProtocolSettings.AddressVersion, wallet.Scrypt.N, wallet.Scrypt.R, wallet.Scrypt.P))
 {
     this.key = key;
 }
示例#2
0
 public WalletLocker(NEP6Wallet wallet)
 {
     this.wallet = wallet;
 }
示例#3
0
 public NEP6Account(NEP6Wallet wallet, UInt160 scriptHash, string nep2key = null)
     : base(scriptHash, wallet.ProtocolSettings)
 {
     this.wallet  = wallet;
     this.nep2key = nep2key;
 }