Show Posts
|
Pages: [1] 2 3 4 5
|
For ethereum somebody said I need to deposit at least one ether in order to deploy a smart contract Is it possible I can put lower than 1 ether? how about 0.3 for example
|
|
|
thanks I am setting up private chain and use web3 to connect it I found the port 8545 always not open Here I use Geth and vps Ubuntu I try to run Geth with —rpcaddr ‘0.0.0.0’ and —rpcport 8545 I tried netstat and I found 8545 not open Even Ipc file not exist
How to run a geth test to let 8545 open? Thanks
|
|
|
thanks how can I call external url from the contract
|
|
|
Thanks I am trying to test a contract once the contract receives ether it will notify MySQL database Any way to do this? I notice there is event in solitidy but how can it insert one line into MySQL
Appreciated
|
|
|
Thanks If I call send transactions related api. Can I call remotely ? Or I just run Metamask on my pc and use my local browser to call remote rpc?
|
|
|
If I run the full node on vps it will take too much space for full node I need a web to call web3 and whether I must run the full node? Thanks
|
|
|
Thanks I have two accounts for testing and each one with some erc20 tokens and ethers I will send some tokens from one account to the other account by the send function on the wallet not the contract It looks like the contract is not called and the tokens not go to the other account I need to make a transfer function in the contract to send the coins by calling this contract Can I directly send the tokens from one account by click the send link? It looks like that part not works
|
|
|
How can I run both Geth and mist at the same time I find that I can only run one but not both I started mist if I run Geth attach it shows another node running so I cannot even start I use private chain for testing
|
|
|
1 I try to send ethers between the accounts on the same mist with mining on vps it looks like never confirmed But if I send to the accounts on server it will works does this mean private chain cannot test between the accounts on the same mist
2 I test some transactions but it always says it may fail in red words when I submit even I have ether Is there any other setting so never confirmed
3 for contract create also never confirmed
|
|
|
It is very hard to setup ethereum private chain I setup one pc and one Linux node Then make a test contract and one test ether transfer transaction The contract an be confirmed but the ether transfer transaction always there not confirmed Then I test contract again not confirmed too even I use Linux miner It show on mist the blockchain sync It is a pain for ethereum
|
|
|
Can I mine on my private network with only my own computer without peers
|
|
|
Thanks 1 I noticed in the genesis Json file there is a parameter chainid is this the same as networkid ?
2 i run on my private network miner.start(1) but I wait a long time it is 0.0 kh/s whether I cannot mine on my own private network with only the node of myself? Whether I must setup at least two nodes on my private network in order to mine?
|
|
|
Hi thanks I have a question for web3.js of ethereum 1 to run web3.js whether I must run Geth on the same server 3 whether I must run the fill node on the same server in order to run web3.js 3 web3.js is used to make a web application for ethereum token and contract? 4 web3.js cannot be used in the code of sol? Run in mist?
Thanks
|
|
|
I am thinking to create a contract to receive ethers Once ether is received the contract will automatically call a fallback function In this fallback function it will calculate the coins based on msg.value and send the tokens back to the sender address msg.sender In this way once my contract received ethers it will automatically send back tokens according to a fixed exchange rate Is this correct?thanks
|
|
|
thanks for msg.value how to keep listening to the event of receiving ethers
|
|
|
In solitidy program I want to detect how many ethers I received How can I do this I mean keep listening once the contract received the ethers I will know
|
|
|
Thanks If there is a deployed contract but the code hidden i think maybe there will be some unknown behavior causing some problem ? Whether the codes can be forced to be public? Also is it possible to reset the exchange rate from my coin to ether dynamically ? So after the address received ether it will automatically send out my coin to the same address based on the dynamic exchange rate ? Any sample code for this
|
|
|
|