This repository has been archived as Algorand wallets integration for SolidJS is now provided by the excellent Use Wallet library.
The Solid Algo Wallets Example provides a working demonstration of a SolidJS web application that integrates Algorand wallets via the solid-algo-wallets library.
The example app utilizes Vite dev tooling, Tailwind CSS styles, and daisyUI components.
This work has been performed with support from the Algorand Foundation xGov Grants Program.
npm install
# or
yarn install
# or
pnpm install
Rename .env.template
to .env
and provide the variables you want to use.
Important: For WalletConnect v2, you need to obtain a Project ID from WalletConnect Cloud. This is a simple process with no waiting period. Every app needs its own unique Project ID to communicate via WalletConnect.
In the example
directory, run:
npm run dev
or npm start
Open http://localhost:3000 to view it in the browser. The page will reload if you make edits.
In the project directory, you can run:
npm run build
This builds the app for production to the dist
folder.
It correctly bundles Solid in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes. Your app is ready to be deployed!
You can deploy the dist
folder to any static host provider (e.g. Netlify).