正在加载视频...

视频加载失败

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

相关视频