@alephium/web3-react
v1.8.5
Published
React components for Alephium Web3.
Downloads
2,731
Readme
Install from sources
First clone this repository on your machine then run:
npm install
npm run build
Development
To setup the repo on your machine just run:
npm install
npm run dev
Example
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.
Credits
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 ❤️