julien/lovepublic Fork 0
2-multichain-check
Commits
Clone
git clone https://git.rickub.com/julien/love.git
git clone ssh://git@rickub.com/julien/love.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

document multichain check 3a20a7c · on 2-multichain-check · julienbrg · 4h ago
CHANGELOG.md · 26 lines · 1.4 KBmarkdown
Blame HistoryOpen raw

Changelog

All notable changes to this project are documented in this file.

The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.

[Unreleased]

Added

  • Foundry project scaffolding (forge-std, CI workflow, .gitignore).
  • Love, an ERC-20 token (LOVE, 18 decimals) on OpenZeppelin v5, with an
    unrestricted public mint(address,uint256) — anyone can mint any amount.
  • Metadata, mint, transfer, approve/transferFrom, revert and fuzz tests.
  • Deployment script script/Love.s.sol, deploying with CREATE2 through the
    canonical deterministic deployer so Love gets the same address on every EVM
    network; salt defaults to keccak256("LOVE") and is overridable via SALT.
  • predict() entrypoint printing the deployment address without broadcasting,
    and CREATE2 tests pinning address determinism across chain IDs.
  • foundry.toml with pinned solc 0.8.30, optimizer, fmt rules, fuzz/invariant
    defaults, and Base Sepolia RPC/Etherscan endpoints driven by env vars.
  • script/multichain-check.sh, deploying Love on two local anvil nodes with
    different chain IDs and failing if the two addresses don't match.
  • remappings.txt for @openzeppelin/contracts/ and forge-std/.
  • .env.example documenting required environment variables.
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Changelog

All notable changes to this project are documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

### Added

- Foundry project scaffolding (`forge-std`, CI workflow, `.gitignore`).
- `Love`, an ERC-20 token (`LOVE`, 18 decimals) on OpenZeppelin v5, with an
  unrestricted public `mint(address,uint256)` — anyone can mint any amount.
- Metadata, mint, transfer, approve/`transferFrom`, revert and fuzz tests.
- Deployment script `script/Love.s.sol`, deploying with CREATE2 through the
  canonical deterministic deployer so `Love` gets the same address on every EVM
  network; salt defaults to `keccak256("LOVE")` and is overridable via `SALT`.
- `predict()` entrypoint printing the deployment address without broadcasting,
  and CREATE2 tests pinning address determinism across chain IDs.
- `foundry.toml` with pinned solc 0.8.30, optimizer, fmt rules, fuzz/invariant
  defaults, and Base Sepolia RPC/Etherscan endpoints driven by env vars.
- `script/multichain-check.sh`, deploying `Love` on two local anvil nodes with
  different chain IDs and failing if the two addresses don't match.
- `remappings.txt` for `@openzeppelin/contracts/` and `forge-std/`.
- `.env.example` documenting required environment variables.