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 NEAR Protocol plugin #847

Merged
merged 14 commits into from
Dec 14, 2024
Merged

feat: Add NEAR Protocol plugin #847

merged 14 commits into from
Dec 14, 2024

Conversation

serrrfirat
Copy link
Contributor

@serrrfirat serrrfirat commented Dec 4, 2024

Risks

N/A

Background

This is the first PR that introduces NEAR Protocol plugin to eliza.

What does this PR do?

Introduces:

  • Wallet provider that returns the current NEAR balance.
  • Swap functionality given the input and output contract addresses through Ref.finance.
  • Native token transfers.
  • New env variables for NEAR Protocol

What kind of change is this?

Features (non-breaking change which adds functionality)

Why are we doing this? Any context or related work?

To introduce basic NEAR Protocol functionality to eliza, which could be further extended.

Documentation changes needed?

My changes do not require a change to the project documentation.

Testing

Changes can be tested by providing a near address, public key and private key in .env, and asking eliza to swap, transfer and provide wallet details.

@serrrfirat serrrfirat marked this pull request as draft December 4, 2024 23:48
@serrrfirat serrrfirat marked this pull request as ready for review December 4, 2024 23:51
@serrrfirat serrrfirat marked this pull request as draft December 4, 2024 23:52
@serrrfirat serrrfirat marked this pull request as ready for review December 5, 2024 08:27
@PiVortex PiVortex mentioned this pull request Dec 10, 2024
9 tasks
@odilitime odilitime added the Plugin_new Mark PRs that are a new plugin label Dec 10, 2024
@lalalune lalalune changed the base branch from main to develop December 14, 2024 09:21
@lalalune lalalune merged commit 2f0519c into elizaOS:develop Dec 14, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Plugin_new Mark PRs that are a new plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants