Love
The official LOVE token.
Install
forge install
cp .env.example .env
Build & test
forge build # compile
forge test # run tests
forge test -vvv # with traces
forge fmt # format
anvil # local node
Deploy
Deployment uses CREATE2, so the token has the same address on every EVM network.
forge script script/Love.s.sol:LoveScript --sig 'predict()' # print the address
forge script script/Love.s.sol:LoveScript \
--rpc-url base_sepolia \
--account "$DEPLOYER_ACCOUNT" \
--broadcast \
--verify
Mint
cast send <LOVE_ADDRESS> "mint(address,uint256)" <RECIPIENT> 1000000000000000000 \
--rpc-url base_sepolia \
--account "$DEPLOYER_ACCOUNT"
License
GPL-3.0
Contact
Julien Béranger (GitHub)
- Element: @julienbrg:matrix.org
- Farcaster: julien-
- Telegram: @julienbrg
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 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
|