Skip to content

Companion repo of the source code used in OnlyArweave's ArConnect article/video.

Notifications You must be signed in to change notification settings

longview-labs/arconnect-dapp-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArConnect dApp Example

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.

Configuration

  1. Clone or download the git repo
  2. Open a terminal within the project directory
  3. Run npm install
  4. Run npm run dev
  5. Open up the localhost link from the last step in your browser!

It should look similar to the image below:

image

Testing The dApp

  • 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 the perms and appDetails constants in the index.js file.

  • Lastly, uncommenting the final section in the index.js Home component will prompt a login from a user automatically.

About

Companion repo of the source code used in OnlyArweave's ArConnect article/video.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published