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 plugin-bnb to support BNB chain #2278

Draft
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

pythonberg1997
Copy link
Contributor

@pythonberg1997 pythonberg1997 commented Jan 14, 2025

Relates to

N/A (No specific issue or ticket linked)

Risks

Low

  • This change only adds support for BNB chain(BSC and opBNB).
  • Other features and functionalities of the Eliza platform remain unaffected.

Background

We are developers from NodeReal, a leading blockchain infrastructure provider delivering comprehensive one-stop blockchain solutions. As a key contributor to BNB Chain and enthusiastic adopters of AI technology, we are excited to contribute the BNB plugin to Eliza.

What does this PR do?

This PR adds a new plugin to Eliza for BNB Chain support. With this plugin, users can perform various operations on BNB Chain, including getBalance, transfer, swap, stake, faucet, bridge, and deploy ERC20/ERC721/ERC1155 tokens.

What kind of change is this?

Features (non-breaking change which adds functionality)

Testing

Where should a reviewer start?

From packages/plugin-bnb folder.

Detailed testing steps

  • Configure the plugin-bnb related entries (BNB_PRIVATE_KEY and BNB_PUBLIC_KEY) in the .env file to enable plugin-bnb and start the client.
  • As a user, ask Eliza to do any action that plugin-bnb supported(getBalance/transfer/staking/faucet/swap/bridge/deploy ERC20/ERC721/ERC1155 tokens).
  • Verify that the return result is correct and the transaction completes successfully on chain.

Discord username

pythonberg

@pythonberg1997 pythonberg1997 changed the title feat: plugin-bnb feat: add plugin-bnb to support BNB chain Jan 14, 2025
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