Skip to content

chore(deps): bump esbuild and tsup in /plugins/telegramPlugin #3

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions plugins/alchemyPlugin/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ALCHEMY_API_KEY=your_alchemy_api_key
VIRTUALS_API_TOKEN=your_virtuals_api_token
3 changes: 3 additions & 0 deletions plugins/alchemyPlugin/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
dist/
node_modules/
coverage/
2 changes: 2 additions & 0 deletions plugins/alchemyPlugin/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
src
tsconfig.json
33 changes: 33 additions & 0 deletions plugins/alchemyPlugin/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Alchemy Plugin for Virtuals Protocol

The **Alchemy Plugin** provides a set of functions to retrieve on-chain data from the Alchemy API giving your agent the power to work with web3 data. With this plugin, you can fetch portfolio data—including transaction history, token details, NFT information, and NFT contracts—by querying wallet addresses across various supported networks.

## Features

- **Transaction History:** Retrieve historical transactions for a given EVM wallet.
- **Tokens by Wallet:** Get the tokens held by a wallet along with associated metadata and prices.
- **Token Balances by Wallet:** Fetch current token balances for a wallet.
- **NFTs by Wallet:** Retrieve NFTs currently owned by a wallet, with optional paging and metadata.
- **NFT Contracts by Wallet:** Retrieve distinct NFT contracts (collections) owned by a wallet, including metadata.

## Installation

The plugin comes in the `plugins` directory at the root of `game-node` official repo.

## Usage

An example of how to instantiate the plugin and create an agent is given in `src/example.ts` file.

All you need to do is run these commands at the root of `alchemyPlugin`:

- `npm run build`
- `node dist/example.js`


## Development

Feel free to modify or extend the plugin as needed. Contributions, bug reports, and feature requests are welcome!

1. Fork the repository.
2. Create a new branch with your feature or bug fix.
3. Submit a pull request with detailed descriptions of your changes.
Loading