julien/lovepublic Fork 0
23bcc218ccd3977bd8285e25d42e6c7b2375d952
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.

README.md · 46 lines · 928 Bmarkdown Blame HistoryRaw
document setup b1c9b0d julienbrg 8h ago1# love
2
3A [Foundry](https://getfoundry.sh) project.
4
5`Love` is a minimal contract that records units of love sent from one address to
6another — a placeholder to build on.
7
8## Setup
9
10```shell
11forge install
12cp .env.example .env
13```
14
15## Usage
16
17```shell
18forge build # compile
19forge test # run tests
20forge test -vvv # with traces
21forge fmt # format
22forge coverage # coverage report
23forge snapshot # gas snapshot
24anvil # local node
25```
26
27## Deploy
28
29```shell
30forge script script/Love.s.sol:LoveScript \
31 --rpc-url base_sepolia \
32 --account "$DEPLOYER_ACCOUNT" \
33 --broadcast \
34 --verify
35```
36
37Drop `--broadcast` for a dry run.
38
39## Layout
40
41| Path | Contents |
42| --------- | ------------------- |
43| `src/` | Contracts |
44| `test/` | Tests |
45| `script/` | Deployment scripts |
46| `lib/` | Dependencies |