Loading video...

Video Failed to Load

Go Home

This is one for the dapps and devs Welcome to Web Wallet – the invisible Starknet wallet that lives in your browser No download, no seedphrase, and it’s only a few lines of code to set up This thread is your guide to seamlessly integrate Web Wallet into your dapp

125,165 views • 3 years ago •via X (Twitter)

17 Comments

Argent's profile picture
Argent3 years ago

But first.. WTF is Web Wallet? Web Wallet is a self-custodial smart wallet that leverages account abstraction A user can create a Web Wallet with an email address, without leaving your dapp They can connect to dapps without any prior knowledge of crypto

Argent's profile picture
Argent3 years ago

sounds pretty cool, right? Web Wallet comes with a ton of epic features: - No download - Self-custodial - Safari compatible - Multi-device access - Argent Shield by default - FIAT on-ramp with @RampNetwork Oh, and the best of them all.. NO SEEDPHRASE

Argent's profile picture
Argent3 years ago

So, how can you integrate Web Wallet into your dapp? It’s simple and fast, only a few lines of code We've prepared step-by-step developer documentation to assist you in the link below But we'll also guide you through the steps now…

Argent's profile picture
Argent3 years ago

Step 1: Install the “@argent/get-starknet” package and its peer dependencies This will give you access to different methods, such as connect and disconnect CODE: npm install @argent/get-starknet starknet Here’s a link to our official npm package:

Argent's profile picture
Argent3 years ago

Step 2: Import these into your Starknet dapp This allows you to use the connect and disconnect methods CODE: import { connect, disconnect } from ‘@argent/get-starknet’

Argent's profile picture
Argent3 years ago

Step 3: It’s time to establish a wallet connection To do this, call the connect method, which was imported with get-starknet..

Argent's profile picture
Argent3 years ago

CODE: const connectWallet = async() => { const connection = await connect(); if(connection && connection.isConnected){ setConnection(connection); setProvider(connection.account); setAddress(connection.selectedAddress); } }

Argent's profile picture
Argent3 years ago

Web Wallet allows you to customise the connection in 3 ways 1. Full connection 2. Display Starknet wallets without email 3. Display email only for signing in/using your dapp Choose the connection that serves your users best 👇

Argent's profile picture
Argent3 years ago

1. Full connection CODE: const connection = await connect ();

Argent's profile picture
Argent3 years ago

2. Displaying only Starknet wallets without email CODE: const connection = await connect({ modalWalletAppearance: “all” });

Argent's profile picture
Argent3 years ago

3. Displaying email only for signing in/using your dapp CODE: const connection = await connect({ include: [“argentWebWallet”], modalWalletAppearance: “email_only”, });

Argent's profile picture
Argent3 years ago

And just like that, you’ve integrated Web Wallet Starknet users can now create a wallet and connect to your dapp in seconds It’s the easiest way to onboard new users - you’re officially ready for mass adoption But that's not all; we’ve got more awesome features in the works..

Argent's profile picture
Argent3 years ago

Coming soon to Web Wallet: - Account recovery - Improvements to fraud monitoring - SDK improvements for an even easier integration And so much more. We’re just getting started.

Argent's profile picture
Argent3 years ago

Web Wallet is a game-changing integration, a no-brainer for dapp teams who want to offer their users a simple wallet experience For those of you still on the fence, here's a demo for you to try 👇

Argent's profile picture
Argent3 years ago

We’ve partnered with some of the leading dapps in the Starknet ecosystem for the launch of Web Wallet @briqNFT @Carbonable_io @Starknet_id @avnu_fi @UnframedCo Join them and integrate the easiest wallet in web3

Argent's profile picture
Argent3 years ago

just published an article on Web Wallet! Read it here:

Argent's profile picture
Argent3 years ago

Excited about Web Wallet? Catch a live demo with @ismael_eth, Product Manager at Argent & @wraitii, Co-Founder of @briqNFT. When? Today at 16:00 UTC. Don't miss it! 🎥

Related Videos