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

A01: Consumer Wallet Creation #3

Closed
mo-jaber opened this issue Dec 12, 2024 · 2 comments · Fixed by #12 or #14
Closed

A01: Consumer Wallet Creation #3

mo-jaber opened this issue Dec 12, 2024 · 2 comments · Fixed by #12 or #14
Assignees
Labels

Comments

@mo-jaber
Copy link
Contributor

mo-jaber commented Dec 12, 2024

Description:
Create a BSV user wallet for every new registration, including private keys and seed phrases, with a toggle between testnet mode (default) and production mode (future release).

Deliverables:
1. User Registration Workflow:
- During registration, generate a new BSV wallet using the BSV TS-SDK.
- Provide seed phrases and private key securely to the user.
2. Testnet/Production Toggle:
- Add a toggle in the user profile settings for switching between testnet and production.
- Default to testnet for safer experimentation.
3. Wallet Management UI:
- A dashboard for users to view their public address, transaction history, and toggle between modes.

Acceptance Criteria:
• A new wallet (private key and seed phrases) is generated for every registered user.
• Users can securely access their seed phrases and public address post-registration.
• The testnet toggle works correctly, with transactions directed to the appropriate network.
Steps to Implement:
1. Wallet Generation:
- Use BSV TS-SDK to generate wallets during user registration.
- Store only public addresses in the database (never store private keys or seed phrases for security).
2. Toggle Implementation:
- Add a database field for mode (testnet or production).
- Update backend services to route transactions based on the selected mode.
3. UI/UX:
- Design a user-friendly registration flow with wallet generation.
Add a clear toggle switch in user settings.

@Benjtalkshow
Copy link

Hello @mo-jaber
I am a Full Stack Developer with a strong background in blockchain and extensive experience in Next.js/React, TypeScript, and Rust. I’ve made over 49 contributions to over 17 projects in the OnlyDust ecosystem, solving complex issues and delivering efficient, scalable solutions.

I can handle this task.
ETA is 3days.

@0xdevcollins
Copy link
Contributor

@mo-jaber
Can I be assigned

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants