Skip to content
LazyCow edited this page Feb 15, 2023 · 3 revisions

Interfaces.sol - common interfaces defines
MainContract.sol - main contract logic
YieldTokenContract.sol - yield token rewards tokenomics (optional allowed withdrawal)
TokenUriLogicContract.sol - dna-traits and dynamic character logics

Copy, past and compile on Remix
https://remix.ethereum.org/ (enable optimization 200)

Deploy MainContract
Deploy YieldTokenContract (pass MainContract address as constructor param)
Deploy TokenUriLogicContract (pass MainContract address as constructor param)
Set YieldTokenContract address on the deployed MainContract (setYieldToken)
Set TokenUriLogicContract address on the deployed MainContract (setTokenUriLogic)

Clone this wiki locally