Skip to content

Commit

Permalink
Mint tokens to initial receiver only
Browse files Browse the repository at this point in the history
  • Loading branch information
gvladika committed Oct 31, 2023
1 parent 3a7b2ce commit fe900a5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions scripts/ethcommands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,6 @@ export const createERC20Command = {
const contract = await contractFactory.deploy("AppTestToken", "APP", ethers.utils.parseEther("1000000000"), namedAccount(argv.mintTo).address);
await contract.deployTransaction.wait();

// transfer some tokens to funnel account
const mintTo = namedAccount(argv.mintTo).connect(argv.provider);
const funnel = namedAccount("funnel");
await contract.connect(mintTo).transfer(funnel.address, ethers.utils.parseEther("200000000"));

console.log("Contract deployed at address:", contract.address);

argv.provider.destroy();
Expand Down

0 comments on commit fe900a5

Please sign in to comment.