Skip to content

Latest commit

 

History

History

example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

dApp Example Using the Adapter

This is a simple commented example demonstrating how to:

  • Connect to ArSnap
  • Manage the permissions of a dApp
  • Display the user's active wallet's address
  • Sign a message with the user's active wallet

Run the Example

See Getting Started if you haven't built arsnap and adapter yet.

Run the following command to start the development server of the example:

yarn example

You can now open the URL printed by the command in your browser to try the example. You can also edit index.ts while the server is running, it will be automatically reloaded.