loomnetwork / TimeLock

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TimeLock

Follow these steps to deploy the TimeLockFactory smart contract:

  1. Install dependencies
yarn install
  1. Create a new file called "token_address" and paste into it your token's address

  2. If you want to deploy to Rinkeby, save your private key/mnemonic to a file called rinkeby_private_key/rinkeby_mnemonic. For mainnet, use mainnet_private_key/mainnet_mnemonic.

  3. Compile the smart contract

truffle compile
  1. Export your Infura API KEY
export INFURA_API_KEY=<YOUR INFURA API KEY>
  1. Deploy
truffle deploy --network rinkeby

or

truffle deploy --network  mainnet

About


Languages

Language:JavaScript 100.0%