/facet-scan

A client for the Facet Protocol. Use it to initiate Dumb Contract interactions and view the results.

Primary LanguageTypeScript

Getting Started

Environment Setup

Before starting the development server, you need to set up the environment variables. Create a .env file in the root directory of this project. You can take reference from the .sample.env file which looks like this:

NEXT_PUBLIC_NETWORK=goerli
NEXT_PUBLIC_API_BASE_URI=https://goerli-api.facet.org

If you decide to clone the facet-vm repo and get the API running on your local machine, replace https://goerli-api.facet.org in the .env file with your localhost URL.

Running the Development Server

Once the environment is set up:

yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying pages/index.tsx. The page auto-updates as you edit the file.

Learn More

To learn more about this stack, take a look at the following resources: