Загрузка видео...

Не удалось загрузить видео

На главную

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 просмотров • 3 лет назад •via X (Twitter)

Комментарии: 17

Фото профиля Argent
Argent3 лет назад

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
Argent3 лет назад

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
Argent3 лет назад

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
Argent3 лет назад

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
Argent3 лет назад

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
Argent3 лет назад

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

Фото профиля Argent
Argent3 лет назад

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

Фото профиля Argent
Argent3 лет назад

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
Argent3 лет назад

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

Фото профиля Argent
Argent3 лет назад

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

Фото профиля Argent
Argent3 лет назад

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

Фото профиля Argent
Argent3 лет назад

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
Argent3 лет назад

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
Argent3 лет назад

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
Argent3 лет назад

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
Argent3 лет назад

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

Фото профиля Argent
Argent3 лет назад

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

Похожие видео