Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(feat) add Synth API plugin #314

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Thykof
Copy link

@Thykof Thykof commented Feb 5, 2025

Background

The Synth API plugin enable AI agent to fetch the best miner prediction of price of BTC in the next 24 hours by steps of 5 minutes.

More information about Synth Subnet

What does this PR do?

This PR introduces a new plugin for the GOAT SDK, which includes the following features:

  • fetch the price of BTC predicted by the current best miner of the Synth Subnet

The PR also add a new example to showcase how the agent can fetch coingecko API for current or past prices and Synth API for future prices predictions. The README.md of the example contains prompt results.

Testing

Detailed testing results

Method Prompt Screenshot Transaction Link
Action #1 Prompt to get it to take that action Screenshot of the result Transaction link
Action #2 Prompt to get it to take that action Screenshot of the result Transaction link

Docs

For plugins

Note: this plugin doesn't interact with any wallet, it only fetches an API, similarly to CoinGecko plugin.

  • I have tested this change locally with key pair wallets
  • I have tested this change locally with hosted wallets (e.g. Crossmint Smart Wallets, etc.)
  • Package exists in the goat workspace file

Discord username

nathan_thykof

Copy link

changeset-bot bot commented Feb 5, 2025

⚠️ No Changeset found

Latest commit: 1f67298

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant