First clone this repository on your machine then run:
npm install
npm run build
To setup the repo on your machine just run:
npm install
npm run dev
To add a auth button to your react/nextjs app, simply wrap your app
with AlephiumWalletProvider
component and add the
AlephiumWalletProvider
component.
const App = () => {
return (
<AlephiumWalletProvider useTheme="win95">
/* Your App */
<AlephiumConnectButton />
</AlephiumWalletProvider>
);
useTheme
is optional, there are a
dozon
themes that can be chosen from.
We have built this project on top of ConnectKit's codebase. We would like to take this oppurtunity to thank all the contributors of the ConnectKit project ❤️