Truffle is a world class development environment, testing framework and asset pipeline for blockchains using the Ethereum Virtual Machine (EVM), aiming to make life as a developer easier.
This guide describes how to configure Truffle when you want to deploy your smart contracts on the IoTeX Network.
Let's assume that you already created a Truffle project and you want now use the truffle migrate command to deploy it on IoTeX. We will use https://babel-api.testnet.iotex.io as the Babel endpoint for IoTeX Testnet.
1. Install the hdwallet-provider package
npm install @truffle/hdwallet-provider --save
2. Configure Truffle
You can configure Truffle accounts by using a mnemonic phrase or private keys.