-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 plugin-ethstorage #2737
Conversation
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Relates to
The PR is not related to any issues.
Risks
Low risk, this PR is to add a new plugin, does not affect the core functionalities of Eliza.
Background
There are existing tools that assist users in interacting with decentralized storage networks like EthStorage. These tools enable users to store and retrieve data in a decentralized manner, leveraging blockchain-based storage mechanisms. The EthStorage plugin allows for the transfer of QKC tokens and submission of arbitrary data to the EthStorage network, offering users a way to interact with decentralized storage easily. The plugin also provides a simple interface to interact with the EthStorage testnet and, once the mainnet is available, will enable mainnet interactions.
What does this PR do?
This PR adds the
plugin-ethstorage
, which interacts with the EthStorage decentralized storage network. The plugin supports two primary actions: transferring QKC tokens and submitting data to the EthStorage network. It is designed to work with the testnet, and the configuration can be customized via environment variables.What kind of change is this?
Features
Documentation changes needed?
No changes required for Eliza's documentation. The
plugin-ethstorage
documentation has been updated to reflect its functionality.Testing
Where should a reviewer start?
Reviewers should integrate the plugin into a local agent and ensure the
.env
file is properly configured withETHSTORAGE_ADDRESS
(default set to the testnet),ETHSTORAGE_PRIVATE_KEY,
andETHSTORAGE_RPC_URL
(a default value is provided, but you can modify it if needed).Detailed testing steps
.env
file is configured withETHSTORAGE_ADDRESS
,ETHSTORAGE_PRIVATE_KEY
, andETHSTORAGE_RPC_URL
. TheETHSTORAGE_ADDRESS
is set to the default testnet value, andETHSTORAGE_RPC_URL
has a default value as well, but both can be changed if needed.send <AMOUNT> QKC to <any other EthStorage account>
.Submit the following data using the key <KEY> to EthStorage <DATA>
.Screenshots
Deploy Notes
Please ensure that the
ETHSTORAGE_ADDRESS
,ETHSTORAGE_RPC_URL
andETHSTORAGE_PRIVATE_KEY
are correctly configured before deploying the plugin.Database changes
No database changes.
Deployment instructions
No additional deployment steps required other than configuring the environment variables.