<!DOCTYPE html>
You can use this guide to set up and run the application either on your local PC with an IDE like Visual Studio Code or on GitHub Codespaces. On this guide I'm using local setup using VS Code.
npx create-react-app analog
cd analog
npm i @polkadot/extension-dapp @analog-labs/timegraph-js dotenv
src/App.js
File:
Replace the content of src/App.js
with the code from this link.
On line 5, replace your_session_key
with your session key.
How to find your SESSION KEY:
0;
from the sessionkey.txt
file.npm start
The app will be accessible at http://localhost:3000. Open this URL in your browser to run the query.