Skip to content

alephium/alephium-web3-react

Repository files navigation

Alephium Logo Alephium Logo


Table of contents

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 AlephiumConnectProvider component and add the AlephiumConnectButton component.

const App = () => {
  return (
    <AlephiumConnectProvider useTheme="win95">
      /* Your App */
      <AlephiumConnectButton />
    </AlephiumConnectProvider>
  );

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 ❤️

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •