Vagabonds-Labs / cofiblocks

Welcome to Cofiblocks marketplace: A Starknet web3 platform to innovate Costa Rica coffee industry. Cofiblocks connects small coffee farmers directly with coffee lovers, cutting out unnecessary intermediaries.
https://www.cofiblocks.com/
10 stars 20 forks source link

Integrate Argent Mobile Wallet in CofiBlocks #53

Open brolag opened 1 week ago

brolag commented 1 week ago

Objective

Integrate the Argent mobile wallet as an option for users to connect their wallet to the CofiBlocks platform.

Description

Add support for Argent mobile wallet connectivity within the CofiBlocks dApp using StarkNetKit connectors. This integration will enable users to connect their Argent wallet for seamless access and interaction within CofiBlocks.

Steps

  1. Install StarkNetKit Dependencies

    • Add the required StarkNetKit package if it's not already installed in the project.
    • Ensure dependencies are compatible with the current setup of CofiBlocks.
  2. Set Up the Argent Connector

    • Follow the Argent Connector documentation to configure the connection.
    • Use the provided API to implement the Argent mobile wallet connection flow within the authentication flow of CofiBlocks.
  3. Implement Connection Button

    • Create a new button or update the existing wallet connection button to include “Connect with Argent” as an option.
    • Implement UI logic to detect and connect to the Argent mobile wallet if selected.
  4. Handle Wallet Connection Events

    • Ensure that connection, disconnection, and error events are handled gracefully.
    • Display appropriate messages or UI feedback based on connection status (connected, disconnected, error).
  5. Test Integration Thoroughly

    • Test the Argent wallet connection on both iOS and Android mobile devices.
    • Verify that the connection process is seamless and that users can interact with CofiBlocks features using the Argent wallet.

Acceptance Criteria

Resources

Iwueseiter commented 1 week ago

Hi @brolag I’m ready to complete this task. I’m a solid web3 developer, I've worked on integration before and also written test for complex Cairo logic and I’d implement this feature as expected.

diegoTech14 commented 1 week ago

Hello @brolag

I am a software engineer from Costa Rica and a proud member of Dojo Coding. I've contributed to projects like Go Stark Me and contributed to Coffiblocks, and have experience with technologies like JavaScript, Node.js, and Cairo. I would love the opportunity to help with this issue and contribute to your project.

PedroCo3lho commented 1 week ago

Hello @brolag, Could I tackle this issue? I’ve already built some dApps on Starknet using StarknetKit to interact with Starknet wallets. I also work daily with Next.js, TypeScript, and TailwindCSS.

brolag commented 1 week ago

Assigning this to you @diegoTech14

diegoTech14 commented 6 days ago

Assigning this to you @diegoTech14

Thank you sir, I will start right now ⚡

AnoukRImola commented 3 days ago

Hello @brolag !

My teammate had some issues with this task. Can I take it over?

brolag commented 2 days ago

@AnoukRImola assining this to you