This is the companion repo containing the source code used in OnlyArweave's ArConnect video and article. You may wish to have ArConnect installed, so you can interact with the buttons in your web browser.
- Clone or download the git repo
- Open a terminal within the project directory
- Run
npm install
- Run
npm run dev
- Open up the
localhost
link from the last step in your browser!
It should look similar to the image below:
-
Pressing the
send a tip!
button will connect directly to an ArConnect wallet on click, and prompts a transaction. This sends a tip to the OnlyArweave community wallet, just in case!😉 -
Pressing the
Connect!
button will prompt a connection with a customized login, which you can edit in theperms
andappDetails
constants in theindex.js
file. -
Lastly, uncommenting the final section in the
index.js
Home component will prompt a login from a user automatically.