Skip to content

Instantly share code, notes, and snippets.

@yangga
Created April 20, 2019 15:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yangga/ef3b043580990df5f50e107dc00b2f05 to your computer and use it in GitHub Desktop.
Save yangga/ef3b043580990df5f50e107dc00b2f05 to your computer and use it in GitHub Desktop.
const HDWalletProvider = require('truffle-hdwallet-provider');
const infuraKey = [PROJECT ID];
const fs = require('fs');
const mnemonic = fs.readFileSync(".secret").toString().trim();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment