Harris pfp
Harris
@harris-
cross chain launcher tokens: implement chain id as constructor parameter and mint deterministically from deterministically deployed launcher with its own function for minting the secondary-chain versions of tokens so that you don't create 2x the supply out of thin air but keep the deployed code and parameters the same question mark send cast
1 reply
0 recast
12 reactions

Harris pfp
Harris
@harris-
cc @proxystudio.eth ``` // token.sol constructor(...) { if (block.chainid == deployedChainId) { _mint(msg.sender, _supply); } } ``` or sth idk how this would work in actual implementation
1 reply
0 recast
4 reactions