January 2020
Intermediate to advanced
530 pages
11h 11m
English
Navigate to your nodejs project directory. First, run Transfer1, like this:
node Transfer1.js
Wait for a successful transaction response. Then, run Transfer2, like this:
node Transfer2.js
After you get a successful transaction response, open a new browser window and check the balance of the two accounts. For example, for receiving account 1, run the following code:
http://localhost:8000/accounts/GDM3ACVBVHZXPYHQYTMQFS42DSIU7AVIZS4ARWNQGUNGL55BPCBUJV6C
The balance should now be updated, as follows:
"balances": [
{
"balance": "1000.0000000",
"limit": "1000000.0000000", "buying_liabilities": "0.0000000", "selling_liabilities": "0.0000000", "last_modified_ledger": 836, "is_authorized": true, "asset_type": "credit_alphanum4", ...Read now
Unlock full access