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

feature: Use yadacoin or centeridentity to allow website authorisation #60

Open
ajstead opened this issue Jun 11, 2023 · 0 comments
Open

Comments

@ajstead
Copy link
Contributor

ajstead commented Jun 11, 2023

Instead of using website passwords, is it possible to build a website that uses the public id of a user to log in, and charge a certain amount of yada for the privilege?

So from a user perspective, they would request access to a part of a website (say members section) and they would have to register their public id, and agree to a contract of a certain value (e.g. one off, monthly recurring payment) then the blockchain could use the yada contracts to pay the website wallet each month, and the user has access.

So the registration process for a website would be easy: provide a valid yada wallet and agree to the contract.

The website then queries the blockchain for login validity, without having to keep a local database of users, as the blockchain contracts will stipulate which users are allowed to access that website.

A % of the fee charged by the website to the end user can be allocated to masternode payments; or if the website is free to users, the website must make a payment to the master nodes to allow the contract to be processed, so the website owner could have a contract that allows validation of say 1000 logins pcm for some amount of yada, or allows a % of paid contracts to be taken.

I think all of the building blocks are already in the project, we may just need a simple api and guide to encourage websites to use the tech.

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