Basic example usage of Arweave Wallet Kit
Clone this repo, pnpm install
, and then pnpm run dev
and open the server in http://localhost:3000/
pnpx create-next-app@latest
and choose a name for the appcd <name-of-your-app>
pnpm install arweave-wallet-kit
- Inside
app/layout.tsx
, move{children}
inside a<ArweaveWalletKit>
tag - In
app/page.tsx
:- Delete everything inside the
<main>
tag - Inside the
<main>
tag, paste:<ConnectButton accent="rgb(255, 0, 0)" profileModal={false} showBalance={true} />
- Delete everything inside the