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

TokenScript file hosting #1

Open
zhangzhongnan928 opened this issue Oct 21, 2024 · 6 comments
Open

TokenScript file hosting #1

zhangzhongnan928 opened this issue Oct 21, 2024 · 6 comments

Comments

@zhangzhongnan928
Copy link
Owner

Save user's .tsml file in Smart Layer Netwok and generate the .tsml URL for ERC-7738 registry

@oleggrib
Copy link
Collaborator

we have to protect our hosting from spam files.
I can see the simple way

  • user have to login with wallet address
  • limit storage per wallet
  • user must be contract Owner()

if your need to add TS file for existing non-Ownable contract then user has options:

  • user hosts file on own hosting
  • ask user to login with google account and limit files per account
  • add google recaptcha 3 to prevent bots from store files on our storage and limit storage size per wallet
    @zhangzhongnan928

@zhangzhongnan928
Copy link
Owner Author

how about pay to host with $SLN, 0.01 SLN to host @oleggrib

@oleggrib
Copy link
Collaborator

@zhangzhongnan928 , pay per hosting can work in usual scenario, but not onboarding.
in onboarding stage we have maybe even pay to developers for TAPPs development
it can be hard to force developer to pay just to test how it works.

we have to make easy to use solution where user can very easy get fully working TAPP and for free
because any payment can change developer attraction to some other service/app/video

@zhangzhongnan928
Copy link
Owner Author

@zhangzhongnan928 , pay per hosting can work in usual scenario, but not onboarding. in onboarding stage we have maybe even pay to developers for TAPPs development it can be hard to force developer to pay just to test how it works.

we have to make easy to use solution where user can very easy get fully working TAPP and for free because any payment can change developer attraction to some other service/app/video

Ok, let's go with 👇

  • user have to login with wallet address
  • limit storage per wallet 50 per wallet.

It is ERC-7738 registry, user doesn't need to be contract Owner

@oleggrib
Copy link
Collaborator

@zhangzhongnan928 , I think we have to add bot-guard also. (we have to prevent cases when user makes script, generates wallets and use our hosting and some file storage)

Simpliest case is google recaptchaV3.
It usually doesnt ask user to fill captcha, just follow user actions and looks for human-behavour

@zhangzhongnan928
Copy link
Owner Author

@zhangzhongnan928 , I think we have to add bot-guard also. (we have to prevent cases when user makes script, generates wallets and use our hosting and some file storage)

Simpliest case is google recaptchaV3. It usually doesnt ask user to fill captcha, just follow user actions and looks for human-behavour

Ok

  • user have to login with wallet address
  • limit storage per wallet 50 per wallet.
  • google recaptchaV3.

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