and @kraykov, if you would like building on aeternity to be simple as the following example,
const ae = require("aepp-sdk");
// connect to a node
const myMainnetNode = ae.nodeProvider(“http://publicNode.aeternity.com/”, “ae_mainnet”, “cors-params”)
// create contract reference
TokenContract = ae.fromArtifact(require(./MyToken.json)); // automatically taking latest deployment address for current net
// define which node to use
TokenContract.options.setNodeProvider(myMainnetNode);
//do a transaction
var oneTransaction = await TokenContract.methods.transfer("ak_xyz", 1337, {...tx params...})
//read data from latest contract state
var myTokenBalance = await TokenContract.methods.checkBalance("ak_xyz")
then you should express support for AEX 6 right here: AEX 6 - Strategic Semantic Syntax: Contract Interaction Wrapper !
currently a draft in: AEXs/aex_SSS.md at 956e06ef25c3088f0ff8c1012fcd510c56c0e5da · aeternity/AEXs · GitHub
No more headaches, that’s the goal.