Conflux-Chain / conflux-truffle

A tool for developing smart contracts on Conflux.
https://confluxnetwork.org
MIT License
25 stars 12 forks source link

About conflux-truffle remote deploy config #40

Open leiyu666 opened 1 year ago

leiyu666 commented 1 year ago

for example:

   testnet: {
        host: 'test.confluxrpc.com',
        // port: 443,
        network_id: "*",
        // 注意:从 portal 获取的私钥需要添加 0x 前缀,privateKeys 也可以指定单个 key,若配置了私钥,请注意不要将代码上传到公开代码仓储中。
        //TODO
        privateKeys: [""]
    },
    mainnet: {
        host: 'main.confluxrpc.com',
        // port: 443,
        network_id: "*",
        // 注意:从 portal 获取的私钥需要添加 0x 前缀,privateKeys 也可以指定单个 key,若配置了私钥,请注意不要将代码上传到公开代码仓储中。
        //TODO
        privateKeys: [""]
    }
Pana commented 1 year ago

注意: host 配置不需要包含 http 或 https