-
Notifications
You must be signed in to change notification settings - Fork 1
Setup
Matt Swezey edited this page Jan 16, 2019
·
28 revisions
🚧 Setup required per your environment 👷♂️
- Navigate to Vanity ETH to quickly create a
testnet
Ethereum key pair value. - Scroll to the bottom, click
generate
- Click to show and access the
private key
value - Copy both the public address and private key into the
.secrets.json
file
"fundAccountEthAddress": "YOUR_ETHEREUM_ADDRESS",
"fundAccountPrivateKey": "YOUR_PRIVATE_KEY"
Now either grab some ropsten test ether at the facuet or send yourself some from another account.
Note: it is heavily recommended to NOT
use this account for mainnet ether as the private key is stored unencrypted in a text file! For development purposes only!
- Navigate to Infura to create a new account or login with your existing account.
- If you're not already, navigate to your
Dashboard
- Create a new project (near the top mid of the webpage) and name it
Hopr
- Save your
Project ID
(aka API Key) this used in the.secrets.json
file under theinfuraApiKey
key:string pair
"infuraApiKey": "INFURA_PRODUCT_ID",
- Whitelist the contract address specified in the
README
page
The following Windows setup goes faster when one utilizes Chocolatey (a Windows Package Manager).
Required software packages:
- Git
- Node (using NVM to install and manage node versions)
- Windows Build Tools
- Visual Studio Code (recommended or your IDE of choice)
- solc (Solidity Compiler)
- Install: Chocolatey
- Install solc
- Install VS Code
Open up PowerShell or cmd:
- Run:
choco install git.install
- Run:
choco install nvm
- Run:
nvm install 11.3
- Run:
nvm use 11.3
Verify node is working via: node --version
.
Note: You may have to restart cmd/Powershell or refresh your environment (refreshenv
) in between the steps above.
- Run:
npm install --global windows-build-tools
- Run:
npm install --global yarn
At this point, yarn install
should run successfully.
Follow the rest of the steps located in the README to run Hopr