Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Phala-Network/prelaunch-token

Repository files navigation

Phala ERC20

The contract has been deployed at 0x6c5ba91642f10282b576d91922ae6448c9d52f4e. Audit report available here

Install dependencies

Prefer node.js v12.16.2

yarn

Deploy

truffle migrate --network mainnet

Verify on Etherscan

truffle run verify PHAToken --network mainnet

Approve MultiSend.co

truffle console --network mainnet

Then in the console:

pha = await PHAToken.deployed()
UNIT = new web3.utils.BN('1000000000000000000')
await pha.approve('0x941f40c2955ee09ba638409f67ef27c531fc055c', UNIT.muln(10000))