Exemple #1
0
        public void TestGetAccount2()
        {
            MyWallet wallet = new MyWallet();
            Action   action = () => wallet.GetAccount(UInt160.Zero);

            action.Should().NotThrow();
        }
Exemple #2
0
        public void TestGetAccount1()
        {
            MyWallet wallet = new MyWallet();

            wallet.CreateAccount(UInt160.Parse("0x7e471cf52f27edc291e29ec8f2d1ea2d210d6725"));
            WalletAccount account = wallet.GetAccount(ECCurve.Secp256r1.G);

            account.ScriptHash.Should().Be(UInt160.Parse("0x7e471cf52f27edc291e29ec8f2d1ea2d210d6725"));
        }
Exemple #3
0
        public void TestGetAccount1()
        {
            MyWallet wallet = new MyWallet();

            wallet.CreateAccount(UInt160.Parse("0xf55f6873ae944cf4ec9626e8855b8554e798a7d1"));
            WalletAccount account = wallet.GetAccount(ECCurve.Secp256r1.G);

            account.ScriptHash.Should().Be(UInt160.Parse("0xf55f6873ae944cf4ec9626e8855b8554e798a7d1"));
        }
Exemple #4
0
        public void TestGetAccount1()
        {
            MyWallet wallet = new MyWallet();

            wallet.CreateAccount(UInt160.Parse("0xc43d04da83afcf7df3b2908c169cfbfbf7512d7f"));
            WalletAccount account = wallet.GetAccount(ECCurve.Secp256r1.G);

            account.ScriptHash.Should().Be(UInt160.Parse("0xc43d04da83afcf7df3b2908c169cfbfbf7512d7f"));
        }
Exemple #5
0
        public void TestGetAccount1()
        {
            MyWallet wallet = new MyWallet();

            wallet.CreateAccount(UInt160.Parse("0xd92defaf95bf5307ffbc3ab1c5cdf7ddfc1b89b3"));
            WalletAccount account = wallet.GetAccount(ECCurve.Secp256r1.G);

            account.ScriptHash.Should().Be(UInt160.Parse("0xd92defaf95bf5307ffbc3ab1c5cdf7ddfc1b89b3"));
        }
Exemple #6
0
        public void TestGetAccount1()
        {
            MyWallet wallet = new MyWallet();

            wallet.CreateAccount(UInt160.Parse("0xb3f1526d9f9670df1a21a5953d5296c3a9c9173c"));
            WalletAccount account = wallet.GetAccount(ECCurve.Secp256r1.G);

            account.ScriptHash.Should().Be(UInt160.Parse("0xb3f1526d9f9670df1a21a5953d5296c3a9c9173c"));
        }
Exemple #7
0
        public void TestGetAccount1()
        {
            MyWallet wallet = new MyWallet();

            wallet.CreateAccount(UInt160.Parse("522a2b818c308c7a2c77cfdda11763fe043bfb40"));
            WalletAccount account = wallet.GetAccount(ECCurve.Secp256r1.G);

            account.ScriptHash.Should().Be(UInt160.Parse("0x522a2b818c308c7a2c77cfdda11763fe043bfb40"));
        }