mcpField
C
check-vault-onchain

check-vault-onchain

github.com/tradingstrategy-aiTesting & quality82971 installsUpdated today
Repository

About check-vault-onchain

check-vault-onchain is a skill that runs a Python script to determine whether a deployed smart contract is a supported vault. It is for users who provide a chain and contract address, and returns the script output in a table.

Key features

  1. 01Check whether a deployed contract is a supported vault
  2. 02Accept chain details and a contract address
  3. 03Run a Python checking script
  4. 04Present script output as a table

Use cases

  1. 01Verify an onchain vault contract
  2. 02Check a contract from a blockchain explorer link
  3. 03Review the vault detection script output

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/tradingstrategy-ai/web3-ethereum-defi --skill check-vault-onchain

After installing, type/check-vault-onchainin Claude Code to confirm it loaded.

Details

From the project README

Check vault onchain

This script will run against a deployed smart contract and see if it detects out as one of our supported vaults. This skill will run a Python script and get you the output back.

Required inputs

  1. Smart ctonract chain and address: User gives this either a link (check the page and blockchain explorer) or directly

Script source

Get the script source code from `scripts/erc-4626/check-vault-onchain.py

Running the script

Clone the script and replace spec to be the correct chain id and vault address string.

Then run the generated script using python console command.

Display output

Send all the script output back to the user, format as a table.

Comments

Markdown supported