When I'm setting up an application, do I have the option of making use of the Ram the user have or would I have to stake ram for the user?

What if some users have staked for ram and some have not?

1 Answer 1


Your contract picks. multi_index's emplace and modify functions have a payer argument that controls this. If you make the user pay and they don't have enough ram available, then the transaction will fail.

  • Can it be dynamic? if the user already has ram then make him pay, if not then the application will pay for him. Commented Jun 2, 2018 at 19:41
  • Yeah it can be dynamic as the payer would be specified when creating the actions, so if a user presses a button to do X you can prompt for Scatter to do the transactions specifying them as the payer, or, compose an action which specifies you (website/service) as the payer signed by both you and your user. Commented Jun 2, 2018 at 22:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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