6 votes
Accepted

Clearing RAM tables of eosio.token contract

UPDATE: Updated the code to compile with eosio.cdt version 1.6.1. I finally got it working nicely! Parsing the token symbol in the action parameters was especially complicated. The other solution ...
user avatar
5 votes

Does EOSIO prevents block producers from using swap instead of RAM?

RAM is there for speed, if you start swapping, performances degrade instantly.. you won't be a very good producer if you're too slow.. On a saturated network, your blocks will always be smaller than ...
user avatar
  • 550
5 votes
Accepted

Are there benefits to holding EOS as a user?

Users of the EOS network will not require any holdings to interface with dApps. As you mentioned Airdrops are certainly a benefit of owning EOS, many companies are using this as a way to circumvent ...
user avatar
  • 1,135
4 votes
Accepted

Does EOSIO prevents block producers from using swap instead of RAM?

A producer who does not maintain similar performance to other producers will fall behind and miss blocks. Also, under the subjective billing for resource usage this producer will cost users more from ...
user avatar
  • 1,424
4 votes

How RAM was allocated in dapp and how to optimize the table?

I don't know how you calculated your contracts RAM consumption, but the devil lies in the details. Index Basics Using an index is always connected to sacrify some memory for speed. This is a well ...
user avatar
  • 2,104
3 votes

How to solve "Account using more than allotted RAM usage"?

You can buy more RAM for your account xxxxx: cleos system buyram xxxxx xxxxx "10 EOS"
user avatar
  • 133
3 votes
Accepted

How can we know the usage of ram for eos?

Usage of RAM for an account: $ cleos get account <account_name> Maximum RAM of the network (max_ram_size): $ cleos get table eosio eosio global Unused RAM of the network: $ cleos get table ...
user avatar
  • 5,524
3 votes

What is the minimum bytes required for a new account?

I tried 4k, it worked. I think the minimum bytes could be lower than 4k. cleos system newaccount --stake-net "0.001 EOS" --stake-cpu "0.001 EOS" --buy-ram-kbytes 4
user avatar
  • 225
2 votes

Does EOSIO prevents block producers from using swap instead of RAM?

The standard process for dealing with Block Producers (BP) who aren't meeting the expectations of EOS users is to rescind votes from the producer and give them to another candidate producer. When the ...
user avatar
  • 1,824
2 votes

Does EOSIO prevents block producers from using swap instead of RAM?

My guess would be that they will miss or produce blocks with fewer transactions than expected.
user avatar
  • 194
2 votes

Why did the ram allocation model change?

According to Dan Larimer's Medium post, they determined that users who acquired cheap RAM would have no incentive to release it if they weren't using it since there was no financial incentive to do so....
user avatar
  • 1,824
2 votes

How can I sell used RAM in EOS?

Technically depends on whatever smart contract you'll use for the tokens however I'll assume you're using the eosio.token contract. You can sell this RAM only if you're able to unstake it, you ...
user avatar
2 votes
Accepted

When someone sells his RAM to another account, how it would clear from previous contracts?

confused00 should have made this response as he/she is correct. RAM must be freed before you can sell it. For a dev this means you have to release your claim on the RAM to sell it For an end user ...
user avatar
  • 3,405
2 votes

Where is my RAM currently allocated to?

Unfortunately, as of now, there is no easy method of achieving this. One must check all actions sent in the past and look up if any of the contracts that they interacted with use their RAM. To free ...
user avatar
  • 5,524
2 votes

How to solve "Account using more than allotted RAM usage"?

If you'd rather not want to use the command line or a wallet, I built a tool that lets you buy more RAM using credit card or crypto (Bitcoin, Bitcoin Cash, Ethereum, Litecoin). The tool is here: ...
user avatar
2 votes

Are there benefits to holding EOS as a user?

There could be benefits yes, depending on which dApps a user might interact with. It might be possible that a dApp will require a user to stake tokens to the dApp to power it, and/or for storage, ...
user avatar
1 vote

How to reclaim ram?

If there is no action for clearing the row from the table given by the contract, then it will not be redeemable. If this is of concern, you can look for the close action on contract before interacting ...
user avatar
1 vote
Accepted

How to view how much RAM users are utilizing

quota = 92.66 KiB = 92.66 x 1024 Bytes = 94,883.84 B ram_bytes = 93482 diff = quota - ram_bytes = 94,883.84 - 93,482 = 1,401.84 This extra ~1400 bytes seems to be the "gift" after the "EOS ...
user avatar
  • 843
1 vote

Does Non fungible Tokens need more RAM?

In fungible tokens you track number of tokens per an account. In non-fungible tokens you track individual token per account. The latter is the only way to do non-fungible tokens - you need to track ...
user avatar
1 vote

Clearing RAM tables of eosio.token contract

Maybe no simple way, because it may cause transaction timeout, you must delete the record one by one, and control the delete number. I think you could have one action on chain, and an execution batch ...
user avatar
  • 1,066
1 vote

Can the memory used by an account be fully claimed and reused?

There are several ways to deal with "lost" RAM. This is all new and might change in the future. RAM cost is determined by free market forces using a bancor algorithm to keep it liquid. Currently, the ...
user avatar
  • 1,686
1 vote

What is the minimum bytes required for a new account?

Anything less than 2,978 bytes fails for me. Example
user avatar
1 vote

How to make a 3rd party pay for the RAM

Looks like the 3rd party must be signing the transaction, there is no way to delegate the permission if I'm reading this right https://github.com/EOSIO/eos/blob/...
user avatar
1 vote

Does EOSIO prevents block producers from using swap instead of RAM?

Producers are free to use swap, there is no hard requirement that they use RAM. Market forces will demand performant producers, performant producers will demand in-RAM data with no swap usage.
user avatar
1 vote
Accepted

Understanding the RAM Allocation Model

Side-chain establishment will be determined by price inflation If at a certain point RAM exceeds average price in comparison to other chains. I suggest you this video by "The Awakenment" for extra ...
user avatar
  • 286
1 vote

EOS Ram allocation

RAM is provided by the block producers; they own the hardware. When dapp developers or users require RAM, they need to stake EOS to be allocated that RAM. If they no longer need the RAM, they can ...
user avatar
  • 440

Only top scored, non community-wiki answers of a minimum length are eligible