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

Add authentication to APIs #1

Open
Shachindra opened this issue Sep 14, 2022 · 2 comments · Fixed by #2
Open

Add authentication to APIs #1

Shachindra opened this issue Sep 14, 2022 · 2 comments · Fixed by #2
Assignees

Comments

@Shachindra
Copy link
Member

Integrate

  1. Auth using Solana Wallet - Cryptographic Signatures
  2. PASETO for Session Management
  3. Validate Database Model
@thisisommore
Copy link
Contributor

Trying to understand this

type Collection struct {
User_id string `db:"user_id"`
Name string `db:"name"`
Symbol string `db:"symbol"`
Description string `db:"description"`
Total_supply uint32 `db:"total_supply"`
Seller_fee uint32 `db:"seller_fee"`
Mint_price float32 `db:"mint_price"`
Game_resource string `db:"game_resource"`
Live_mint_start string `db:"live_mint_start"`
}

the collection itself is wrapped in user methods and also has user id, but I think collection can be many for any user and I don't find any logic for it

@thisisommore
Copy link
Contributor

thisisommore commented Sep 15, 2022

  • Ask for network and verify signature according to the network

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

Successfully merging a pull request may close this issue.

2 participants