Gathering detailed insights and metrics for vibe-cli
Gathering detailed insights and metrics for vibe-cli
Gathering detailed insights and metrics for vibe-cli
Gathering detailed insights and metrics for vibe-cli
vibe-tools
CLI tools for AI agents
vibe-cli-tool
VibeCLI v1.9 - 模板商店生态,智能部署生成,多语言支持,交互式学习系统,企业级Web全栈应用CLI工具
create-vibe-flow
CLI tool to create a Vibe Flow project
pr-vibe
AI-powered PR review responder that vibes with CodeRabbit, DeepSource, and other bots to automate repetitive feedback
npm install vibe-cli
Typescript
Module System
Node Version
NPM Version
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
A CLI tool/wrapper around Foundry that supercharges and simplifies your decentralised application workflow.
Vibe-CLI allows you to easily fork, compile, deploy, and call contracts on various networks. It also allows you to easily test your contracts, and interact with your contracts using scripts.
Check out the example project.
npm | npm install -g vibe-cli |
pnpm | pnpm add -g vibe-cli |
Bun | bun add -g vibe-cli |
1vibe init
This command should be ran in the root directory of your project. It will create a vibe
directory, a vibe.config.js
file, a .vibe
file and a foundry.toml
file.
Vibe-CLI requires Foundry to be installed on your system. If Foundry is not installed, Vibe-CLI will ask if you would like to install it when running any command.
[!WARNING] If you’re on Windows, you will need to install and use Git BASH or WSL as your terminal, since Foundryup currently does not support Powershell or Cmd.
[!NOTE] Vibe-CLI and Foundry require you to use the
.t.sol
extension for your test files, and.s.sol
for your script files in order for it to work correctly.
1vibe fork <network> [-d]
(See list of supported networks here.)
For example, to fork the Binance Smart Chain mainnet: vibe fork bsc
.
This command can be ran from any directory. It will fork the network specified in the command using Anvil.
If the --deploy (-d)
flag is set, the contracts specified in vibe.config.js
under that chain will be deployed to the network after forking.
Vibe-CLI will pass any other flags directly to Anvil.
1vibe compile
This command will compile the contracts specified in the vibe.config.js
file in your project.
1vibe deploy <network>
This command will deploy the contracts specified in the vibe.config.js
file in your project to the network specified in the command.
Contracts are deployed in order. If one contract depends on an already deployed contract, you can use it as a constructor argument by using the $
symbol followed by the contract name (e.g. "$Counter"
).
1vibe run <network> <command> [args]
This command will run the Solidity script defined in the vibe.config.js
file in your project with the command and arguments specified.
1vibe supply <network> <address>
This command will supply the supply balance in ETH and tokens defined in the vibe.config.js
file in your project to the specified addresses on a forked network.
1vibe check <network>
It will run the tests located in the vibe/tests
directory of your project (unless specified otherwise in the config) on the network specified in the command using forge test
.
1vibe curl <method> [args]
This command will run the RPC method specified in the command with the provided arguments on the currently forked network (e.g. vibe curl evm_setIntervalMining 2
).
1vibe refresh
This command will Update all deployment files with the addresses found in the .vibe file.
[!NOTE] Any filenames in the configuration should be specified without any file extensions.
8545
)'vibe/src'
)'vibe/out'
)'vibe/scripts'
)['vibe/deployed']
)["name arg1 arg2"]
)vibe compile
vibe deploy [chain name]
vibe run [chain name] [command] [args]
1{ 2 "abi": [], 3 "deployments": { 4 "[chain ID]": "contract address (0x...)" 5 } 6}
This file contains the addresses of the deployed contracts. It is automatically generated when deploying contracts.
No vulnerabilities found.
No security vulnerabilities found.