feat: finish challenge
Some checks failed
Lint / ci (lts/*, ubuntu-latest) (push) Has been cancelled
Some checks failed
Lint / ci (lts/*, ubuntu-latest) (push) Has been cancelled
This commit is contained in:
@@ -27,14 +27,14 @@ const deployVendor: DeployFunction = async function (hre: HardhatRuntimeEnvironm
|
||||
* Student TODO:
|
||||
* - Put the address you’re using in the frontend here (leave "" to default to the deployer)
|
||||
*/
|
||||
const FRONTEND_ADDRESS: string = "";
|
||||
const FRONTEND_ADDRESS: string = "0x253F67DF832aBADb8A54aAA9b4A2635fbeDa4Ccf";
|
||||
|
||||
/**
|
||||
* Mode switch:
|
||||
* - If true: deploy Vendor and seed it with the token balance
|
||||
* - If false: send tokens to your frontend address (or deployer if unset)
|
||||
*/
|
||||
const SEND_TOKENS_TO_VENDOR = false; // Don't switch until Checkpoint 2!
|
||||
const SEND_TOKENS_TO_VENDOR = true; // Don't switch until Checkpoint 2!
|
||||
|
||||
const recipientAddress = FRONTEND_ADDRESS && FRONTEND_ADDRESS.trim().length > 0 ? FRONTEND_ADDRESS : deployer;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user