12 : Identify a Stellar Classic Asset using stellar-sdk.
bash quickstart.sh standalone
bash run.sh
node src/friendbot.js
node src/issueAsset.js AAAASSET ISSUED: Asset {
code: 'ABCD',
issuer: 'GAM5XOXRUWPMKENBGOEAKMLRQ4ENHLHDSU2L2J7TVJ34ZI7S6PHMYIGI'
}From a SYMBOL:ISSUER address
var asset = new StellarSdk.Asset(asset_code, asset_issuer );node src/chapter12/checkFormat.js ABC GAM5XOXRUWPMKENBGOEAKMLRQ4ENHLHDSU2L2J7TVJ34ZI7S6PHMYIGISee if the asset exist?
From a wrapped asset contract address
Previous11 : Use the native token (XLM) inside a smart contract.Next13 : Wrap an asset using stellar-sdk.
Last updated