Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

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,167 görüntüleme • 3 yıl önce •via X (Twitter)

17 Yorum

Argent profil fotoğrafı
Argent3 yıl önce

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 profil fotoğrafı
Argent3 yıl önce

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 profil fotoğrafı
Argent3 yıl önce

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 profil fotoğrafı
Argent3 yıl önce

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 profil fotoğrafı
Argent3 yıl önce

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 profil fotoğrafı
Argent3 yıl önce

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

Argent profil fotoğrafı
Argent3 yıl önce

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

Argent profil fotoğrafı
Argent3 yıl önce

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 profil fotoğrafı
Argent3 yıl önce

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

Argent profil fotoğrafı
Argent3 yıl önce

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

Argent profil fotoğrafı
Argent3 yıl önce

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

Argent profil fotoğrafı
Argent3 yıl önce

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 profil fotoğrafı
Argent3 yıl önce

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 profil fotoğrafı
Argent3 yıl önce

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 profil fotoğrafı
Argent3 yıl önce

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 profil fotoğrafı
Argent3 yıl önce

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

Argent profil fotoğrafı
Argent3 yıl önce

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

Benzer Videolar