Skip to content

Main Contracts for Power Agent V2: A Decentralized Network for Guaranteed, Automatic, Gasless Transaction Execution and Off-Chain Computations for DeFi/Web3 Apps and Individuals.

License

Notifications You must be signed in to change notification settings

powerpool-finance/powerpool-agent-v2

Repository files navigation

PowerPool Agent V2

Decentralized network for guaranteed, automatic, gasless transactions execution and off-chain computations for Defi/Web3 apps and individuals.

The main purpose of PowerAgent is to execute (call) smart contracts based on the specific logic of the Task, submitted to the network.

The execution logic can contain on-chain conditions and, in the future, off-chain data and computation results.

How to run tests

  • Clone the repo git clone --recurse-submodules https://github.com/powerpool-finance/powerpool-agent-v2.git
  • Set up foundry https://github.com/foundry-rs/foundry#installation. At the moment the following instructions are valid:
    • curl -L https://foundry.paradigm.xyz | bash
    • Reload your PATH env var, for ex. by restarting a terminal session
    • foundryup
  • Run all the tests:
forge test -vvv
  • Run a particular test (verbose details only if a test fails, 3-v):
forge test -vvv -m testSetAgentParams
  • Print verbose debug info for a test (4-v):
forge test -vvvv -m testSetAgentParams
  • Re-compile all contracts with sizes output:
forge build --sizes --force

About

Main Contracts for Power Agent V2: A Decentralized Network for Guaranteed, Automatic, Gasless Transaction Execution and Off-Chain Computations for DeFi/Web3 Apps and Individuals.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published