check-vault-onchain

验证智能合约是否被识别为链上金库,通过调用 Python 脚本对接指定区块链和合约地址,自动执行特征标记检查,并将结构化结果以表格形式返回给用户。

快捷安装

在终端运行此命令,即可一键安装该 Skill 到您的 Claude 中

npx skills add tradingstrategy-ai/web3-ethereum-defi --skill "check-vault-onchain"

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.