julien/lovepublic Fork 0
dded29a03d3e4395f369c9e2c8fc829fba287322
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 · 54 lines · 1.0 KBmarkdown Blame HistoryRaw
Merge 1-add-main-logic into main dded29a rickub 8h ago1# Love
document setup b1c9b0d julienbrg 8h ago2
Merge 1-add-main-logic into main dded29a rickub 8h ago3The official LOVE token.
document setup b1c9b0d julienbrg 8h ago4
Merge 1-add-main-logic into main dded29a rickub 8h ago5## Install
document setup b1c9b0d julienbrg 8h ago6
7```shell
8forge install
9cp .env.example .env
10```
11
Merge 1-add-main-logic into main dded29a rickub 8h ago12## Build & test
document setup b1c9b0d julienbrg 8h 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 8h ago24Deployment uses CREATE2, so the token has the same address on every EVM network.
25
document setup b1c9b0d julienbrg 8h ago26```shell
Merge 1-add-main-logic into main dded29a rickub 8h ago27forge script script/Love.s.sol:LoveScript --sig 'predict()' # print the address
28
document setup b1c9b0d julienbrg 8h ago29forge script script/Love.s.sol:LoveScript \
30 --rpc-url base_sepolia \
31 --account "$DEPLOYER_ACCOUNT" \
32 --broadcast \
33 --verify
34```
35
update docs for erc20 69c46a2 julienbrg 8h ago36## Mint
37
38```shell
39cast send <LOVE_ADDRESS> "mint(address,uint256)" <RECIPIENT> 1000000000000000000 \
40 --rpc-url base_sepolia \
41 --account "$DEPLOYER_ACCOUNT"
42```
Merge 1-add-main-logic into main dded29a rickub 8h ago43
44## License
45
46GPL-3.0
47
48## Contact
49
50**Julien Béranger** ([GitHub](https://github.com/julienbrg))
51
52- Element: [@julienbrg:matrix.org](https://matrix.to/#/@julienbrg:matrix.org)
53- Farcaster: [julien-](https://warpcast.com/julien-)
54- Telegram: [@julienbrg](https://t.me/julienbrg)