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

Only accept subscription from specific address (address whitelist) #65

Open
filips123 opened this issue Nov 21, 2018 · 4 comments
Open

Comments

@filips123
Copy link

Add support to make subscription plan that only accepts subscription from specific address.

This would be useful if creator of plan wants some private or limited subscription or if there is some agreement between creator or user.

@kermankohli
Copy link
Contributor

Are there a fixed set of addresses? Will they be dynamic? Curious to learn more about the use case too.

@filips123
Copy link
Author

This address should be optional (to allow any address).

But when creating a plan (with JavaScript library) there should be parameter allow (or something like this) which will specify allowed address. This could be one or more addresses.

They could be fixed, but it will be better if creator of the plan could change them later (as long with other plan data).

@kermankohli
Copy link
Contributor

So something like an address whitelist where a new subscription's msg.sender has to be a part of that list?

@filips123
Copy link
Author

@kermankohli Yes.

@filips123 filips123 changed the title Only accept subscription from specific address Only accept subscription from specific address (address whitelist) Nov 24, 2018
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

2 participants