Skip to content

Commit 7fc7131

Browse files
committed
feat: init flow plugin
1 parent 7fb73d2 commit 7fc7131

File tree

9 files changed

+460
-1
lines changed

9 files changed

+460
-1
lines changed

.vscode/settings.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
"typescript.format.enable": false,
1313
"files.trimTrailingWhitespace": true,
1414
"editor.trimAutoWhitespace": true,
15+
"cadence.test.maxConcurrency": 5,
16+
"cadence.customConfigPath": "packages/plugin-flow/flow.json",
1517
"[properties]": {
1618
"editor.defaultFormatter": "foxundermoon.shell-format"
1719
},
@@ -42,4 +44,4 @@
4244
"[shellscript]": {
4345
"editor.defaultFormatter": "foxundermoon.shell-format"
4446
}
45-
}
47+
}

packages/plugin-flow/.npmignore

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
*
2+
3+
!dist/**
4+
!package.json
5+
!readme.md
6+
!tsup.config.ts
+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import eslintGlobalConfig from "../../eslint.config.mjs";
2+
3+
export default [...eslintGlobalConfig];

packages/plugin-flow/flow.json

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"contracts": {},
3+
"dependencies": {},
4+
"networks": {
5+
"emulator": "127.0.0.1:3569",
6+
"mainnet": "access.mainnet.nodes.onflow.org:9000",
7+
"testing": "127.0.0.1:3569",
8+
"testnet": "access.devnet.nodes.onflow.org:9000"
9+
},
10+
"accounts": {},
11+
"deployments": {}
12+
}

packages/plugin-flow/package.json

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "@ai16z/plugin-flow",
3+
"version": "0.1.5-alpha.0",
4+
"main": "dist/index.js",
5+
"type": "module",
6+
"types": "dist/index.d.ts",
7+
"dependencies": {
8+
"@ai16z/eliza": "workspace:*",
9+
"@ai16z/plugin-trustdb": "workspace:*",
10+
"@onflow/fcl": "1.13.1",
11+
"bignumber.js": "9.1.2",
12+
"bs58": "6.0.0",
13+
"node-cache": "5.1.2",
14+
"zod": "3.23.8"
15+
},
16+
"devDependencies": {
17+
"tsup": "8.3.5",
18+
"vitest": "2.1.4"
19+
},
20+
"scripts": {
21+
"build": "tsup --format esm --dts",
22+
"dev": "tsup --format esm --dts --watch",
23+
"lint": "eslint . --fix",
24+
"test": "vitest run"
25+
},
26+
"peerDependencies": {
27+
"whatwg-url": "7.1.0"
28+
}
29+
}

packages/plugin-flow/src/index.ts

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { Plugin } from "@ai16z/eliza";
2+
3+
export const flowPlugin: Plugin = {
4+
name: "flow",
5+
description: "Flow Plugin for Eliza",
6+
actions: [],
7+
evaluators: [],
8+
providers: [],
9+
};
10+
11+
export default flowPlugin;

0 commit comments

Comments
 (0)