PtahDao普塔道/ProTradex普瑞緹流動性質(zhì)押挖礦系統(tǒng)開發(fā)實(shí)現(xiàn)技術(shù)方案及代碼部署
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.
智能合約dapp開發(fā)技術(shù)是一種基于區(qū)塊鏈技術(shù)的開發(fā)技術(shù),它可以幫助開發(fā)者快速高效地開發(fā)出功能強(qiáng)大、可靠性高的dapp(去中心化應(yīng)用)。
dapp定制開發(fā)技術(shù)則是用于為dapp開發(fā)者提供更好的定制化開發(fā)服務(wù),幫助開發(fā)者更快捷地構(gòu)建出功能強(qiáng)大、可靠性高的dapp。
Web3.0基礎(chǔ)設(shè)施主要包括節(jié)點(diǎn)基礎(chǔ)設(shè)施、存儲、預(yù)言機(jī)、安全審計(jì)、數(shù)據(jù)分析平臺、錢包、開發(fā)工具等。開發(fā)案例唯:MrsFu123如錢包服務(wù)用戶鏈上資產(chǎn)的存儲,是Web3.0的重要入口,如Metamask(加密貨幣錢包)、WalletConnect(錢包通用協(xié)議)等
$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
},智能合約開發(fā)案例I35方案7O98系統(tǒng)O7I8
ropsten:{
provider:()=>new HDWalletProvider(mnemonic,`https://ropsten.infura.io/v3/`infuraKey),
network_id:3,
gas:5500000,
confirmations:2,
timeoutBlocks:200,
skipDryRun:true
},
rinkeby:{
provider:()=>new HDWalletProvider(mnemonic,`https://rinkeby.infura.io/v3/`infuraKey),
network_id:4,
gas:5500000,
confirmations:2,
timeoutBlocks:200,
skipDryRun:true
},
goerli:{
provider:()=>new HDWalletProvider(mnemonic,`https://goerli.infura.io/v3/`infuraKey),
network_id:5,
gas:5500000,
confirmations:2,
timeoutBlocks:200,
skipDryRun:true
},
kovan:{
provider:()=>new HDWalletProvider(mnemonic,`https://kovan.infura.io/v3/`infuraKey),
network_id:42,
gas:5500000,
confirmations:2,
timeoutBlocks:200,
skipDryRun:true
},
},