January 2020
Intermediate to advanced
530 pages
11h 11m
English
All right. Now, let's write the Node.js utilities, to transfer the assets from the issuing account to the accounts we'll use for trading, as follows:
const StellarSdk = require('stellar-sdk');const server = new StellarSdk.Server('http://127.0.0.1:8000', {allowHttp: true});var issuingKeys = StellarSdk.Keypair.fromSecret('SDHH7CAELIMPNZPRFEBJHSFP24B7UEAAJVW2PMR5AZP5OESHH435DZFC');var receivingKeys1 = StellarSdk.Keypair.fromSecret('SCUN3DL3OCSU6SQ6K4BU3SIG7OHPKKUGFAR25CJG2JUSNIGGU3OCSVAS'); ...Read now
Unlock full access