Skip to content
This repository was archived by the owner on Jan 13, 2023. It is now read-only.

Commit 51a8e15

Browse files
authored
Merge pull request #140 from maeck70/patch-2
Clarify Address usage in send example
2 parents 702760a + 1ae0972 commit 51a8e15

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

examples/send_transfer.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
"""
55
from iota import *
66

7+
SEED1 = b"THESEEDOFTHEWALLETSENDINGGOESHERE999999999999999999999999999999999999999999999999"
8+
ADDRESS_WITH_CHECKSUM_SECURITY_LEVEL_2 = b"RECEIVINGWALLETADDRESSGOESHERE9WITHCHECKSUMANDSECURITYLEVEL2999999999999999999999999999999"
79

810
# Create the API instance.
911
api =\
@@ -12,7 +14,7 @@
1214
'http://localhost:14265/',
1315

1416
# Seed used for cryptographic functions.
15-
seed = b'SEED9GOES9HERE'
17+
seed = SEED1
1618
)
1719

1820
# For more information, see :py:meth:`Iota.send_transfer`.
@@ -26,8 +28,7 @@
2628
# Recipient of the transfer.
2729
address =
2830
Address(
29-
b'TESTVALUE9DONTUSEINPRODUCTION99999FBFFTG'
30-
b'QFWEHEL9KCAFXBJBXGE9HID9XCOHFIDABHDG9AHDR'
31+
ADDRESS_WITH_CHECKSUM_SECURITY_LEVEL_2,
3132
),
3233

3334
# Amount of IOTA to transfer.

0 commit comments

Comments
 (0)