Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let contract users pay for storage #9

Open
dakk opened this issue Jun 8, 2024 · 0 comments
Open

Let contract users pay for storage #9

dakk opened this issue Jun 8, 2024 · 0 comments
Milestone

Comments

@dakk
Copy link
Owner

dakk commented Jun 8, 2024

Require that the user must attach NEAR in a payable method, this method can either be the one they are calling or a separate method

For example look at the storage_depsosit method for fungible token https://github.com/near-examples/ft-tutorial/blob/36760e8b0485c44110a40e0294140a69f4b5722e/4.storage/src/storage.rs#L82

@dakk dakk added this to the dqpu_8 milestone Jun 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant