Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/koheimizuno/punkga-evm
https://github.com/koheimizuno/punkga-evm
Last synced: about 4 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/koheimizuno/punkga-evm
- Owner: koheimizuno
- Created: 2024-07-25T18:02:07.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-10-08T04:44:41.000Z (about 1 month ago)
- Last Synced: 2024-10-28T07:18:38.027Z (22 days ago)
- Language: Solidity
- Size: 29.3 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
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
1. Deploy implementation
```shell
$ forge script script/PunkgaReward_deployImpl.s.sol --rpc-url aura --private-key $PRIVATE_KEY --broadcast
```2. Deploy proxy
```shell
$ forge script script/PunkgaReward_deployProxy.s.sol --rpc-url aura --private-key $PRIVATE_KEY --broadcast
```### Verify
```shell
$ forge verify-contract --verifier sourcify --verifier-url https://indexer-v2.dev.aurascan.io/sourcify/ --rpc-url https://jsonrpc.serenity.aura.network/ src/PunkgaReward.sol:PunkgaReward
```### Cast
```shell
$ cast
```### Help
```shell
$ forge --help
$ anvil --help
$ cast --help
```