Power Probe leverages Power Loom nodes for performance metric tracking, presenting intuitive analytics through a user-friendly dashboard. Utilizing ReactJS, our dashboard elegantly displays snapshotter node stats, offering users comprehensive insights at a glance.
Github : Repo Link
Video : Youtube Link
- React JS
- PowerLoom Snapshotter Node
- Eth Sepolia Chain
-
Clone the repository against the devnet branch.
git clone https://github.com/PowerLoom/deploy.git --single-branch powerloom_deploy --branch devnet && cd powerloom_deploy
-
Visit devnet-mint.powerloom.dev to begin the minting process.
- Connect your wallet.
- Click on "mint".
- After minting, copy the slot ID provided and add it to your environment variables in step 3.
-
Copy
env.example
to.env
.Ensure the following required variables are filled:
SOURCE_RPC_URL
: The URL for Ethereum RPC (Local node/Infura/Alchemy) service.SIGNER_ACCOUNT_ADDRESS
: The address of the signer account. This is your whitelisted address on the protocol. Using a burner account is highly recommended. Get a burner account from here.SLOT_ID
: The NFT ID of your minted devnet NFT.SIGNER_ACCOUNT_PRIVATE_KEY
: The private key corresponding to the signer account address.- Configure
SNAPSHOT_CONFIG_REPO
andSNAPSHOT_CONFIG_REPO_BRANCH
to point to your forked snapshotter-configs repository. - Configure
SNAPSHOTTER_COMPUTE_REPO
andSNAPSHOTTER_COMPUTE_REPO_BRANCH
to point to your forked snapshotter-computes repository. PROST_RPC_URL
: The URL for the PROST RPC service.PROTOCOL_STATE_CONTRACT
: The contract address for the protocol state.RELAYER_HOST
: The host address for the relayer.NAMESPACE
: The unique key used to identify your project namespace around which all consensus activity takes place.POWERLOOM_REPORTING_URL
: The URL for reporting to PowerLoom.PROST_CHAIN_ID
: The chain ID for the PROST RPC service.
-
Setup codebase by running
bootstrap.sh
using./bootstrap.sh
command.- Note: This is a one-time step and resets the codebase to the latest version of the branch. If you have made any changes to the codebase, make sure to commit them before running this command. You need to run this command only once after cloning the repository.
-
Install required dependencies for python scripts by running
pip install -r requirements.txt
command. -
Run the node using the command
./build.sh
. -
Assign Burner wallet.
Do you want to assign a burner wallet to a slot? (yes/no):
Click yes.
-
Enter your private key which you used to mint in dashboard.
To assign a burner wallet to a slot, you need to sign a message with the private key of the Account holding the slot. Private Key:
- Clone the repos
git clone https://github.com/Novobloc/power-probe
- Install the dependencies.
yarn
- Start the app using command
yarn start
-
Open this link in browser http://localhost:3000
-
Hey, You just ran the code in your system, thats it.