UNPKG
dc-protocol
Version:
latest (0.1.45)
1.0.2
1.0.0
0.2.0
0.1.45
0.1.44
0.1.43
0.1.42
0.1.41
0.1.39
0.1.37
0.1.36
0.1.19
0.1.18
0.1.17
0.1.16
0.1.15
0.1.14
0.1.13
0.1.12
0.1.11
0.1.10
0.1.9
0.1.8
0.1.6
0.1.5
0.1.4
0.1.2
0.1.1
0.1.0
Start ganache and deploy our contracts
dc-protocol
/
src
/
migrations
/
1_initial_migration.js
7 lines
(5 loc)
•
239 B
JavaScript
View Raw
1
2
3
4
5
6
7
var
Migrations
= artifacts.
require
(
'./devtools/Migrations.sol'
)
module
.
exports
=
async
function
(
deployer, network
) {
if
(network ===
'ropsten'
|| network ===
'ropsten-fork'
||network ===
'rinkeby'
)
return
deployer.
deploy
(
Migrations
) }