Update for nftdapp
This commit is contained in:
@@ -27,6 +27,12 @@
|
||||
require('babel-register')
|
||||
require('babel-polyfill')
|
||||
|
||||
const HDWalletProvider = require("truffle-hdwallet-provider-klaytn");
|
||||
const NETWORK_ID = '1001'
|
||||
|
||||
const URL = 'https://api.baobab.klaytn.net:8651' // testnet
|
||||
const PRIVATE_KEY = '0x9452f902e6c2751c123db6480cff2d83597b077059be7cb3ab9b47fb555e7da5' //testnet
|
||||
|
||||
|
||||
module.exports = {
|
||||
/**
|
||||
@@ -51,13 +57,12 @@ module.exports = {
|
||||
// port: 8545, // Standard Ethereum port (default: none)
|
||||
// network_id: "*", // Any network (default: none)
|
||||
// },
|
||||
development: {
|
||||
host: 'localhost',
|
||||
port: 7545,
|
||||
gas: 3000000,
|
||||
gasPrice: 21,
|
||||
network_id: '*' // Match any network id
|
||||
}
|
||||
klaytn: {
|
||||
provider: () => new HDWalletProvider(PRIVATE_KEY, URL),
|
||||
network_id: NETWORK_ID,
|
||||
gas: '8500000',
|
||||
gasPrice: null,
|
||||
},
|
||||
|
||||
// Another network with more advanced options...
|
||||
// advanced: {
|
||||
|
||||
Reference in New Issue
Block a user