Skip to content

Commit

Permalink
feat: plugin for OriginTrail Decentralized Knowledge Graph (#2380)
Browse files Browse the repository at this point in the history
* Add OriginTrail DKG plugin

* Add .env.example

* Remove unused code

* Code cleanup

* Fix potential bug on hasValidRemoteUrls

* PR feedback, code structure improvements

* Merge with elizaOS/develop

* lint

* Update pnpm-lock.yaml

---------

Co-authored-by: Sayo <[email protected]>
Co-authored-by: Sayo <[email protected]>
  • Loading branch information
3 people authored Jan 22, 2025
1 parent a974af4 commit 066f49b
Show file tree
Hide file tree
Showing 18 changed files with 3,073 additions and 203 deletions.
9 changes: 9 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,15 @@ PYTH_TEST_ID02=0xff61491a931112ddf1bd8147cd1b641375f79f5825126d665480874634fd0ac
ROUTER_NITRO_EVM_ADDRESS=
ROUTER_NITRO_EVM_PRIVATE_KEY=

# OriginTrail DKG
DKG_ENVIRONMENT=""
# Values: "development", "testnet", "mainnet"
DKG_HOSTNAME=""
DKG_PORT="8900"
DKG_PUBLIC_KEY=""
DKG_PRIVATE_KEY=""
DKG_BLOCKCHAIN_NAME=""
# Values: (mainnet) "base:8453", "gnosis:100", "otp:2043" (testnet) "base:84532", "gnosis:10200", "otp:20430"

# Initia Plugin Configuration
INITIA_PRIVATE_KEY= # Your Initia wallet private key
Expand Down
3 changes: 2 additions & 1 deletion agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@
"@elizaos/plugin-router-nitro": "workspace:*",
"@elizaos/plugin-nvidia-nim": "workspace:*",
"@elizaos/plugin-0x": "workspace:*",
"@elizaos/plugin-dkg": "workspace:*",
"readline": "1.3.0",
"ws": "8.18.0",
"yargs": "17.7.2"
Expand All @@ -125,4 +126,4 @@
"ts-node": "10.9.2",
"tsup": "8.3.5"
}
}
}
Loading

0 comments on commit 066f49b

Please sign in to comment.