Running the utility
Navigate back to the nodejs project repository on your terminal window. Run the CreateTrustline utility by executing the following command:
node CreateTrustline.js
A successful response from the Stellar network after the transaction is submitted indicates the trustlines have been created. You can verify this on your own.
Navigate to your internet browser and open a tab. View any account on Horizon by going to the accounts link. You can do so by going to the following link: http://localhost:8000/accounts/<Account ID>.
For example, for receivingKeys1, the public key we saved earlier is GDM3ACVBVHZXPYHQYTMQFS42DSIU7AVIZS4ARWNQGUNGL55BPCBUJV6C.
So, open the following link:
http://localhost:8000/accounts/GDM3ACVBVHZXPYHQYTMQFS42DSIU7AVIZS4ARWNQGUNGL55BPCBUJV6C ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access