Skip to content

This plugin enables interaction with Arthera, providing actions and providers for transferring tokens and managing wallet connections.

Notifications You must be signed in to change notification settings

elizaos-plugins/plugin-arthera

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@elizaos/plugin-arthera

This plugin provides actions and providers for interacting with Arthera.


Configuration

Default Setup

By default, Arthera is enabled. To use it, simply add your private key to the .env file:

ARTHERA_PRIVATE_KEY=your-private-key-here

Custom RPC URLs

By default, the RPC URL is inferred from the viem/chains config. To use a custom RPC URL for a specific chain, add the following to your .env file:

ETHEREUM_PROVIDER_<CHAIN_NAME>=https://your-custom-rpc-url

Example usage:

ETHEREUM_PROVIDER_ARTHERA=https://rpc.arthera.net

Provider

The Wallet Provider initializes with Arthera. It:

  • Provides the context of the currently connected address and its balance.
  • Creates Public and Wallet clients to interact with the supported chain.

Actions

Transfer

Transfer tokens from one address to another on Arthera. Just specify the:

  • Amount
  • Chain
  • Recipient Address

Example usage:

Transfer 1 AA to 0xRecipient on arthera.

Contribution

The plugin contains tests. Whether you're using TDD or not, please make sure to run the tests before submitting a PR.

Running Tests

Navigate to the plugin-arthera directory and run:

pnpm test

About

This plugin enables interaction with Arthera, providing actions and providers for transferring tokens and managing wallet connections.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •