Skip to content

Spectral-Finance/autonomous-agent-contracts

Repository files navigation

Autonomous Agent Contracts

This project contains the AgentToken ERC20 contract, developed with Hardhat. The token applies a configurable tax on transfers to smart contract addresses, sending a portion of each taxed transfer to a specified tax wallet.

Project Structure

  • contracts/: Contains the AgentToken contract and AutonomousAgentDeployer contract for creating Agents.
  • scripts/: Deployment and testing scripts for the contracts.
  • test/: Unit tests for AgentToken.
  • hardhat.config.ts: Hardhat configuration file.

Upgrade Checklist

-DEPLOYMENT_COST_ETH equals the sum of DEPLOYMENT_TREASURY_FEE and INITIAL_ TRADING_BALANCE

Requirements

  • Node.js >= 18
  • npm
  • Hardhat (latest version)

Setup

  1. Clone the repository:

    git clone https://github.com/YourUsername/autonomous-agent-contracts.git
    cd autonomous-agent-contracts
  2. Install dependencies

    npm install
  3. Compile the contracts

npx hardhat compile

About

Spectral Autonomous Agent Solidity Smart Contracts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors