View this hack md file for an in-depth documentation: https://hackmd.io/BFrhyOTUQ3O9REs5PuZahQ?view
- Deploy xComb token (contracts/HSFToken.sol)
- Take the nonce from the xComb deploy tx add two, then enter the deploy
address and nonce into the
get-deterministic-addr.js
script as follows:node scripts/get-deterministic-addr.js <addr> <nonce>
. Then approve that address to spend the tokens that will be distributed - Deploy the Farm (contracts/HoneyFarm.sol)
- Deploy referral rewarder (contracts/ReferralRewarder.sol)
- Transfer necessary xComb tokens to the referral rewarder
- Transfer ownership of the referral rewarder to the farm contract
- Set the referral rewarder address on the farm contract