@alexvandesande I need to check for a particular account if n number of balance exist from another contract. I am assuming it is possible to call another contract, but how?
One token contract with one account with few token balances
One check contract which will have to check the deployed token contract to see if the given address has got tokens or not.
Hi, I have learned about creating a smart contract on MIST. Now I want to create a smart contract using MIX which my goal is running this contract on a browser.
I am learning this https://github.com/ethereum/wiki/wiki/Mix:-The-DApp-IDE#deployment-to-network tutorial.
After complete the contract.sol and index.html
I run the geth --testnet
command in the terminal (I am using Mac).
Then, I stuck on how to deploy.
In Ethereum node URL says, "Unable to contact Ethereum node on http://localhost:8545"
Would anyone please point me to the complete tutorial or how to solve this?
Hello :)!, I'm following this tutorial: https://github.com/ethereum/wiki/wiki/Dapp-using-Meteor and i have troubles :(, I'm working remotely with a centos distro and running geth with the next command: geth --identity "genesisNode" --genesis customGenesis.json --rpc --rpcport "11235" --rpccorsdomain "*" --datadir "./data" --port "11236" --nodiscover --ipcapi "admin,db,eth,debug,miner,net,shh,txpool,personal,web3" --rpcapi "db,eth,net,web3" --autodag --networkid 1123 5 --nat "any"
My init.js:
if(typeof web3 === 'undefined')
web3 = new Web3(new Web3.providers.HttpProvider('http://dadevop.com:11235'));
But when i visit the page (in my physical computer) and try to check the accounts with 'web3.eth.accounts' i have the next error:
Uncaught Error: CONNECTION ERROR: Couldn't connect to node http://dadevop.com:11236.
at Object.module.exports.InvalidConnection (http://dadevop.com:3000/packages/ethereum_web3.js?hash=5ea02d25307fcfbadeb94f275b2c50316ad44a8a:3135:16)
at HttpProvider.send (http://dadevop.com:3000/packages/ethereum_web3.js?hash=5ea02d25307fcfbadeb94f275b2c50316ad44a8a:4268:22)
at RequestManager.send (http://dadevop.com:3000/packages/ethereum_web3.js?hash=5ea02d25307fcfbadeb94f275b2c50316ad44a8a:6029:32)
at Eth.get [as accounts] (http://dadevop.com:3000/packages/ethereum_web3.js?hash=5ea02d25307fcfbadeb94f275b2c50316ad44a8a:5932:62)
at <anonymous>:1:9
at Object.InjectedScript._evaluateOn (<anonymous>:145:167)
at Object.InjectedScript._evaluateAndWrap (<anonymous>:137:25)
at Object.InjectedScript.evaluate (<anonymous>:118:14)