Hi guys, I want to create a smart contract on the Ethereum network. When someone writes on the blockchain e.g. asking a question (this cost gas to write which we need to pay). But gas is variable. How can i write a piece of code which equals the current gas price of ETHER with the value of my own token?
Sorry what I meant was how can I write a smart contract for when a user writes om my Dapp which cost gas and the contract takes the current gas price in ETH and lets the user pay in my own crypto currency since i want to make people pay in my own token for gas usage.
I'm trying to copy and paste the sample DAO codes available in Ethereum.org but they won't compile. The token didn't give me a hard time, but the DAO is generating errors I cannot solve... since I don't code. Can you point me in the right direction, please?