This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log("Hello, NEMber"); | |
// Configure a Blockchain endpoint and include SDK | |
var NEM_HOST = "http://bob.nem.ninja"; // bob is Testnet! | |
var NEM_PORT = 7890; | |
var nem = require("nem-sdk").default; | |
var node = nem.model.objects.create("endpoint")(NEM_HOST, NEM_PORT); | |
// Define the player data | |
var playerXEM = "TATKHV5JJTQXCUCXPXH2WPHLAYE73REUMGDOZKUW"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log("Hello, NEMber"); | |
// Configure a Blockchain endpoint and include SDK | |
var NEM_HOST = "http://bob.nem.ninja"; // bob is Testnet! | |
var NEM_PORT = 7890; | |
var nem = require("nem-sdk").default; | |
var node = nem.model.objects.create("endpoint")(NEM_HOST, NEM_PORT); | |
// Read Outgoing Transactions for the given game/application Account (pacnem-business) | |
nem.com.requests.account.outgoingTransactions(node, "TCTIMURL5LPKNJYF3OB3ACQVAXO3GK5IU2BJMPSU") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log("Hello, NEMber"); | |
// Configure a Blockchain endpoint and include SDK | |
var NEM_HOST = "http://bob.nem.ninja"; // bob is Testnet! | |
var NEM_PORT = 7890; | |
var nem = require("nem-sdk").default; | |
var node = nem.model.objects.create("endpoint")(NEM_HOST, NEM_PORT); | |
// Issue the Mosaics request for the given Account (insert Player XEM address here) | |
nem.com.requests.account.mosaics(node, "TCTIMURL5LPKNJYF3OB3ACQVAXO3GK5IU2BJMPSU") |
NewerOlder