You have some code posted on your website, I'm very much so interested in understanding how to use this code, but I don't know what it is, what it's doing or how to make use of it.
Could you please update the website with some documentation explaining what the code is for people without a technical background.
I tried adding your token to the Parity UI, but the contract address was not recognized. This could be due to the fact that I have not finished syncing all of the block data yet, so won't be able to try and add it again until it finishes
They also request along with the Token Address a Token TLA short name, 3 characters, not sure what this is, maybe it's the old symbol VSM
I tried at first to search for the token, but nothing showed up for VOISE, so again, maybe the data base needs to finish syncing for this to work
I'd rather use the Javascript web3 interface to add the token, but again I'm not a computer scientist so it's hard for me to understand
I posted the code below:
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
#!/usr/bin/env node
var Web3 = require('web3');
var Tx = require('ethereumjs-tx');
var fs = require('fs');
//var web3 = new Web3('
http://localhost:8545');
if (typeof web3 !== 'undefined') {
web3 = new Web3(web3.currentProvider);
} else {
// set the provider you want from Web3.providers
web3 = new Web3(new Web3.providers.HttpProvider("
http://localhost:8545"));
}
voise_new_addr = '0x83eEA00D838f92dEC4D1475697B9f4D3537b56E3';
var fromAccount = process.argv[2];
var toAccount = process.argv[3];
var privateKey = new Buffer(process.argv[4], 'hex');
var coins_amt = process.argv[5];
var count = web3.eth.getTransactionCount(fromAccount, "pending");
var abiArray = JSON.parse(fs.readFileSync('new_voise.json', 'utf-8'));
var contractAddress = voise_new_addr;
var contract = web3.eth.contract(abiArray).at(contractAddress);
var gasPrice = web3.eth.gasPrice;
var rawTransaction = {
"from": fromAccount,
"nonce": web3.toHex(count),
"gasPrice": web3.toHex(gasPrice),
"gasLimit": web3.toHex(2000000),
"to": contractAddress,
"value": "0x0",
"data": contract.transfer.getData(toAccount, coins_amt, {from: fromAccount}) /*,
"chainId": 0x03 */
};
var privKey = privateKey;
var tx = new Tx(rawTransaction);
tx.sign(privKey);
var serializedTx = tx.serialize();
//console.log("sending " + serializedTx.toString('hex'));
web3.eth.sendRawTransaction('0x' + serializedTx.toString('hex'), function(err, hash) {
if (!err) {
} else {
}
});
function quitnow() {
// all the stuff you want to happen after that pause
process.exit();
}
setTimeout(quitnow, 1000);