Source code WeChat:kaifa873
Ptahdao is essentially a financial service platform based on decentralized community autonomy,committed to providing financial tool support to L M R P a r t e r s users.In terms of representation,Ptahdao runs entirely based on smart contracts.The operation of all financial products will follow the established smart contract rules and operate independently without interference
$vim truffle-config.js
const HDWalletProvider=require('truffle/hdwallet-provider');
const infuraKey="填写infuraKey";
const mnemonic="填写助记词";
module.exports={
networks:{
mainnet:{
provider:()=>new HDWalletProvider(mnemonic,https://mainnet.infura.io/v3/infuraKey),
network_id:1,
gas:5500000,
confirmations:2,
timeoutBlocks:200,
skipDryRun:true
},
ropsten:{
provider:()=>new HDWalletProvider(mnemonic,https://ropsten.infura.io/v3/infuraKey),
network_id:3,
gas:5500000,
confirmations:2,
timeoutBlocks:200,
skipDryRun:true
},