2

Can anyone specifically tell me where we are using the ram suppose I am a dapp developer and I have staked some ram for accounts I am going to create

Questions are

  1. For every transaction made by those accounts will require ram? transaction types are token transaction and transactions having some payload.
  2. for every contract will I need ram
  3. Which one is cheaper paying GAS on ethereum or staking ram on EOS? and why?
1

For every transaction made by those accounts will require ram? transaction types are token transaction and transactions having some payload.

No, these are stored in the blockchain log, so accounts only need CPU for processing and NET for storage.

for every contract will I need ram

Yes, nodes store the current contract version for each account in RAM, so if an account uploads a contract, it needs to have RAM available.

Which one is cheaper paying GAS on ethereum or staking ram on EOS? and why?

I'm afraid this is a broad question that depends on exchange rates, RAM supply/demand, the way you use your dApp, RAM requirements, etc.

If an account only want to use the EOS mainnet to transfer tokens, without storing additional data in the RAM, all they have to pay for is the RAM required to store the account name, keys, and relevant metadata (512byes - 3KB). If the account interacts with contracts that require RAM storage, then the costs are specific to the data that is required to be stored by that contract.

  • like if i have payload of 200 kb then it will be stored in NET and can you please describe NET @confused00 – yash vadhvani Sep 19 '18 at 5:14
  • yeah, it will be stored on disk which is paid for by staking EOS for NET. there are some details about these resources in the whitepaper here – confused00 Sep 19 '18 at 10:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.