julien/lovepublic Fork 0
6b4a40d9d53d284f94b492aff5a8fc978f05781c
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 · 56 lines · 1.2 KBmarkdown Blame HistoryRaw
Merge 1-add-main-logic into main dded29a rickub 9h ago1# Love
document setup b1c9b0d julienbrg 10h ago2
Merge 1-add-main-logic into main dded29a rickub 9h ago3The official LOVE token.
document setup b1c9b0d julienbrg 10h ago4
Merge 1-add-main-logic into main dded29a rickub 9h ago5## Install
document setup b1c9b0d julienbrg 10h ago6
7```shell
8forge install
9cp .env.example .env
10```
11
Merge 1-add-main-logic into main dded29a rickub 9h ago12## Build & test
document setup b1c9b0d julienbrg 10h ago13
14```shell
15forge build # compile
16forge test # run tests
17forge test -vvv # with traces
18forge fmt # format
19anvil # local node
20```
21
22## Deploy
23
Merge 1-add-main-logic into main dded29a rickub 9h ago24Deployment uses CREATE2, so the token has the same address on every EVM network.
25
document setup b1c9b0d julienbrg 10h ago26```shell
Merge 1-add-main-logic into main dded29a rickub 9h ago27forge script script/Love.s.sol:LoveScript --sig 'predict()' # print the address
28
document setup b1c9b0d julienbrg 10h ago29forge script script/Love.s.sol:LoveScript \
30 --rpc-url base_sepolia \
31 --account "$DEPLOYER_ACCOUNT" \
32 --broadcast \
33 --verify
34```
35
Merge 2-multichain-check into main 7c6b16b rickub 9h ago36To check determinism for real, deploy on two local chains and compare:
37
38```shell
39./script/multichain-check.sh
40```
41
42It starts two anvil nodes (chain IDs 31337 and 31338), broadcasts the script on
43both, and exits non-zero if the addresses differ. Override `PORT_A`, `PORT_B`,
44`CHAIN_ID_A`, `CHAIN_ID_B` or `SALT` as needed.
45
Merge 1-add-main-logic into main dded29a rickub 9h ago46## License
47
48GPL-3.0
49
50## Contact
51
52**Julien Béranger** ([GitHub](https://github.com/julienbrg))
53
54- Element: [@julienbrg:matrix.org](https://matrix.to/#/@julienbrg:matrix.org)
55- Farcaster: [julien-](https://warpcast.com/julien-)
56- Telegram: [@julienbrg](https://t.me/julienbrg)