Open walnut-the-cat opened 10 months ago
2024-02-05 status update:
@staffik , I see that the PR is now merged. Are we done with the project?
@staffik , I see that the PR is now merged. Are we done with the project?
There is 1 tiny task that I decided to do as a follow up to push the main PR faster. And then we need to stabilize the feature.
2024-02-26 status update:
permanent_storage_bytes
field instead: https://github.com/near/NEPs/pull/491#issuecomment-19614790892024-03-11 status update:
@staffik , what's the status? Are we done?
2024-04-08 status update:
@staffik ,
Still waiting for reply regarding CoinGecko and CoinMarketCap.
Who should able to provide an answer on this?
Goals
Creating new accounts on chain costs a gas fee and a storage staking fee. The more state is added to the account, the higher the storage staking fees. When deploying a contract on the account, it can quickly go above 1 NEAR per account.
Some business models are okay with paying that fee for users upfront, just to get them onboarded. However, if a business does that today, their users can delete their new accounts and spend the tokens intended for storage staking in other ways. Since this is free for the user, they are financially incentivized to repeat this action for as long as the business has funds left in the faucet.
The protocol should allow to create accounts in a way that is not susceptible to such refund abuse. This would at least change the incentives such that creating fake users is no longer profitable.
Non-refundable storage staking is a further improvement over https://github.com/near/NEPs/pull/448 (Zero Balance Accounts) which addressed the same issue but is limited to 770 bytes per account. By lifting the limit, sponsored accounts can be used in combination with smart contracts.
Links to external documentations and discussions
Estimated effort
LoE: ~1 week Target Date: Mid Jan
Assumptions
All the assumption and the reasoning for this are one NEP proposal document referenced in external documentation.
Pre-requisites
There are no prerequisites
Out of scope