I want to make my smart contract, but I have some questions.
for example my new coin name is : Ghost and it's based on Eth.
- how much ETH should I have in my wallet to create this smart contract?
- After creation of my new coin "Ghost", and when someone want to send 10 Ghosts to another one, what about the fees of transaction, will it be in ETH or Ghost? and how I can control on it? the amount of fees and which address should got this fees?
- after I deploy the smart contract on mist what the next ?
Regards
Best Answer
Adding on to @pabloruiz55's answer:
The transaction fee for deploying a smart contract depends on its content. You could estimate the gas required for contract creation from remix-online solidity compiler.
start to compile
to compile the codeNote:
Ethers required for a transaction (including deploying a contract) is governed by a formula:
You already estimated gas from the remix and you can choose gas price as per your convenience. For reference of safe lowest gas price have a look at eth gas station.
If you supply more gas than required in creating a contract, the excess gas will be refunded. So try sending the gas a bit higher(but not too high) than that estimated by remix.
The transaction fee will always be in ethers and the transaction fee could be estimated in the similar fashion as for contract.