Loading video...
Video Failed to Load
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

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

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

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…

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:

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’

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

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

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 👇

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

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

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

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..

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.

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 👇

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

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

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! 🎥


