https://github.com/beincom/bic-smart-contract-v2
https://github.com/beincom/bic-smart-contract-v2
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/beincom/bic-smart-contract-v2
- Owner: beincom
- Created: 2024-12-12T10:41:08.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-10-22T10:18:18.000Z (7 months ago)
- Last Synced: 2025-10-22T12:17:40.929Z (7 months ago)
- Language: Solidity
- Size: 756 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Foundry
**Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.**
Foundry consists of:
- **Forge**: Ethereum testing framework (like Truffle, Hardhat and DappTools).
- **Cast**: Swiss army knife for interacting with EVM smart contracts, sending transactions and getting chain data.
- **Anvil**: Local Ethereum node, akin to Ganache, Hardhat Network.
- **Chisel**: Fast, utilitarian, and verbose solidity REPL.
## Documentation
https://book.getfoundry.sh/
## Usage
### Build
```shell
$ forge build
```
### Test
```shell
$ forge test
```
### Format
```shell
$ forge fmt
```
### Gas Snapshots
```shell
$ forge snapshot
```
### Anvil
```shell
$ anvil
```
### Deploy
```shell
$ forge script script/Counter.s.sol:CounterScript --rpc-url --private-key
```
### Verify
$ forge verify-contract --etherscan-api-key $API_KEY $CONTRACT_ADDRESS $PATH_NAME_CONTRACT --compiler-version $VERSION --chain $CHAIN
### Deploy BIC Token in Unichain Sepolia
```shell
$ forge script script/BicDeployScript.s.sol:BicDeployScript --rpc-url unichain_sepolia --broadcast -vvvv
```
### Cast
```shell
$ cast
```
### Help
```shell
$ forge --help
$ anvil --help
$ cast --help
```