check-vault-onchain
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
- 01Check whether a deployed contract is a supported vault
- 02Accept chain details and a contract address
- 03Run a Python checking script
- 04Present script output as a table
Use cases
- 01Verify an onchain vault contract
- 02Check a contract from a blockchain explorer link
- 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-onchainAfter installing, type/check-vault-onchainin Claude Code to confirm it loaded.
Details
From the project READMECheck 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
- 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.