near / near-one-project-tracking

A repository for tracking work items that NEAR One is working on.
0 stars 0 forks source link

[ProjectTracking]: Non refundable storage #8

Open walnut-the-cat opened 10 months ago

walnut-the-cat commented 10 months ago

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

walnut-the-cat commented 9 months ago

December 18th

staffik commented 7 months ago

2024-02-05 status update:

walnut-the-cat commented 7 months ago

@staffik , I see that the PR is now merged. Are we done with the project?

staffik commented 7 months ago

@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.

staffik commented 7 months ago

2024-02-26 status update:

staffik commented 6 months ago

2024-03-11 status update:

walnut-the-cat commented 5 months ago

@staffik , what's the status? Are we done?

staffik commented 5 months ago

2024-04-08 status update:

walnut-the-cat commented 5 months ago

@staffik ,

Still waiting for reply regarding CoinGecko and CoinMarketCap.

Who should able to provide an answer on this?