-
Notifications
You must be signed in to change notification settings - Fork 35
/
rekey.feature
33 lines (29 loc) · 1.74 KB
/
rekey.feature
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
@rekey_v1
Feature: Sending transactions
Background:
Given an algod v2 client connected to "localhost" port 60000 with token "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
And a kmd client
And wallet information
Scenario Outline: Sending transactions
When I generate a key using kmd for rekeying and fund it
Given default transaction with parameters <amt> "<note>" and rekeying key
When I get the private key
And I add a rekeyTo field with address "<rekeyTo>"
And I sign the transaction with the private key
And I send the transaction
Then I wait for the transaction to be confirmed.
Given default transaction with parameters <amt> "<note>" and rekeying key
And mnemonic for private key "<mn>"
And I sign the transaction with the private key
And I send the transaction
Then I wait for the transaction to be confirmed.
Given default transaction with parameters <amt> "<note>" and rekeying key
When I get the private key
And I add a rekeyTo field with the private key algorand address
And mnemonic for private key "<mn>"
And I sign the transaction with the private key
And I send the transaction
Then I wait for the transaction to be confirmed.
Examples:
| amt | note | rekeyTo | mn |
| 0 | X4Bl4wQ9rCo= | AAEHXUN5L4MJ6Y5O3RIIHST6BZHJ2RGMIHQKQK2K2W2CSHCABV3MFUFBGA | cute elevator romance type flight broccoli hub engage hundred brick add cage crouch turtle cake service heart cube like hidden dizzy lonely include abandon oven |