You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR:
- updates the README to the recommended format for sample apps
- fixes a breaking issue when there is more than 1 connected wallet
- removes unused dependencies and updates Circle SDKs to latest versions
Copy file name to clipboardExpand all lines: README.md
+73-30Lines changed: 73 additions & 30 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,45 +1,65 @@
1
1
# Arc Multichain Wallet
2
2
3
-
This sample app demonstrates how developers can build the best USDC interoperability UX for wallets using Arc and Gateway.
3
+
A sample application demonstrating how to build optimal USDC interoperability UX for wallets using Arc and Circle Gateway. This app showcases unified balance management, deposits, and cross-chain transfers across multiple EVM chains using Next.js and Supabase.
4
4
5
-
### Install dependencies
5
+
<imgwidth="830"height="658"alt="Interface for depositing to and transfering from a Gateway balance"src="public/screenshot.png" />
6
6
7
-
```bash
8
-
# Install dependencies
9
-
pnpm install
7
+
## Prerequisites
10
8
11
-
# Configure environment variables
12
-
cp .env.example .env.local
13
-
```
9
+
- Node.js 20.x or newer
10
+
- npm (automatically installed when Node.js is installed)
11
+
- Docker (for running Supabase locally)
12
+
- Circle Developer Controlled Wallets [API key](https://console.circle.com/signin) and [Entity Secret](https://developers.circle.com/wallets/dev-controlled/register-entity-secret)
The app will be available at `http://localhost:3000`.
40
55
41
56
## How It Works
42
57
58
+
- Built with [Next.js](https://nextjs.org/) and [Supabase](https://supabase.com/)
59
+
- Uses [Circle Gateway](https://developers.circle.com/gateway) for unified USDC balance and cross-chain transfers
60
+
- Integrates [Circle Developer Controlled Wallets](https://developers.circle.com/wallets/dev-controlled) for server-side wallet operations
61
+
- Demonstrates wallet connectivity with [Wagmi](https://wagmi.sh/) and [Viem](https://viem.sh/)
62
+
43
63
### Unified Balance
44
64
45
65
When you deposit USDC to the Gateway Wallet, it becomes part of your unified balance accessible from any supported chain. The Gateway Wallet uses the same address on all chains: `0x0077777d7EBA4688BDeF3E311b846F25870A19B9`
@@ -57,13 +77,36 @@ When you deposit USDC to the Gateway Wallet, it becomes part of your unified bal
0 commit comments