coinbase / coinbase/agentkit

Superfluid Actions

Open
#280 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
1.3k
Forks
815
Avg merge
13h 31m
Merged PRs (30d)
2

Description

### 🚀 The feature, motivation and pitch

## Add Superfluid Support to CDP Agentkit

### Overview
As part of the Ethglobal Agent hackathon, we had a need for Superfluid functionality in our agent.

Actions include:
- Stream management (opening, updating, and closing)
- Pool management (opening, updating)
- Querying (checking for current streams/pools)

### Implementation Steps
1. Create Initial package struction
- [ ] Create `superfluid` directory in action providers
- [ ] Set up basic package files
2. Add core Stream actions
3. Add core Pool actions
4. Add core Query actions
5. Add tests
- [ ] Pool tests
- [ ] Stream tests
- [ ] Query tests
6. Documentation
- [ ] Usage examples
- [ ] Update main README

### Dependencies
- Node.js 18+
- graphql-request

### Alternatives

N/A

### Additional context

Link to fork: https://github.com/gtspencer/agentkit
Link to project: https://ethglobal.com/showcase/gaimer-7mytn

Action Providers Added:

- SuperfluidStreamActionProvider: handles starting, updating, and stopping Superfluid streams
- SuperfluidPoolActionProvider: handles starting and updating a Superfluid pool
- SuperfluidQueryActionProvider: handles querying The Graph for active Superfluid streams

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.