Thanks to visit codestin.com
Credit goes to github.com

Skip to content

jarrodwatts/blaickrock

Repository files navigation


Blaickrock Banner

Blaickrock

An AI Agent managing a portfolio of crypto assets on Abstract.

How it works

Blaickrock operates a "fund" of assets on Abstract through it's Abstract Global Wallet.

This codebase uses three agents to perform a three step process:

  1. Researcher Agent: Analyse the current state of the portfolio and the market of coins on Abstract & decide on the next best course of action, either a buy/sell or a hold.
  2. Executor Agent: Execute the trade via Uniswap.
  3. Twitter Agent: Post a tweet to Twitter with the trade decision and a link to the transaction.

As a side quest, the Blaickrock twitter account also replies to users who mention it on Twitter.

Blaickrock Agent Diagram

Key Code Files

The code is a little messy, but here are the key files:

Prompts:

Tools:

Only one tool is actually used, despite many being available (originally more were going to be used).

Running Locally

  1. Install dependencies:

    pnpm install
  2. Create a .env file in the root of the project and add environment variables:

See .env.example for the required variables.

Please be careful. These are sensitive values. Only proceed if you understand the risks.

  1. Run the main three-step flow:

    pnpm run start
  2. Run the reply logic:

    pnpm run check-mentions

About

A fully autonomous asset manager on Abstract. Returns may vary.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published