2020-07-26 09:04:45 -07:00
|
|
|
{
|
|
|
|
"name": "wormhole",
|
|
|
|
"version": "1.0.0",
|
|
|
|
"description": "",
|
|
|
|
"main": "networks.js",
|
|
|
|
"devDependencies": {
|
2020-08-17 14:01:59 -07:00
|
|
|
"@chainsafe/truffle-plugin-abigen": "0.0.1",
|
2020-11-19 03:53:16 -08:00
|
|
|
"@openzeppelin/cli": "^2.8.2",
|
2021-09-09 21:22:11 -07:00
|
|
|
"@openzeppelin/contracts": "^4.3.1",
|
2020-11-19 03:53:16 -08:00
|
|
|
"@openzeppelin/test-environment": "^0.1.6",
|
|
|
|
"@openzeppelin/test-helpers": "^0.5.9",
|
2022-01-13 13:44:32 -08:00
|
|
|
"@poanet/solidity-flattener": "^3.0.6",
|
|
|
|
"@truffle/hdwallet-provider": "^1.7.0",
|
2020-08-06 14:32:31 -07:00
|
|
|
"chai": "^4.2.0",
|
2020-11-19 03:53:16 -08:00
|
|
|
"mocha": "^8.2.1",
|
2022-04-04 15:11:03 -07:00
|
|
|
"truffle": "5.3.14",
|
2021-07-20 10:59:56 -07:00
|
|
|
"truffle-assertions": "^0.9.2",
|
|
|
|
"truffle-plugin-verify": "^0.5.11"
|
2020-07-26 09:04:45 -07:00
|
|
|
},
|
|
|
|
"scripts": {
|
2020-08-06 14:32:31 -07:00
|
|
|
"build": "truffle compile",
|
2022-03-30 21:32:27 -07:00
|
|
|
"test": "mkdir -p build/contracts && cp node_modules/@openzeppelin/contracts/build/contracts/* build/contracts/ && truffle test --network test",
|
2022-03-04 20:30:29 -08:00
|
|
|
"migrate": "mkdir -p build/contracts && cp node_modules/@openzeppelin/contracts/build/contracts/* build/contracts/ && truffle migrate --to 4",
|
2022-01-28 05:52:54 -08:00
|
|
|
"flatten": "mkdir -p node_modules/@poanet/solidity-flattener/contracts && cp -r contracts/* node_modules/@poanet/solidity-flattener/contracts/ && poa-solidity-flattener",
|
2022-03-03 13:40:32 -08:00
|
|
|
"deploy-bridge-implementation-only": "mkdir -p build/contracts && cp node_modules/@openzeppelin/contracts/build/contracts/* build/contracts/ && truffle migrate --f 6 --to 6",
|
2022-08-31 13:17:35 -07:00
|
|
|
"deploy-token-implementation-only": "mkdir -p build/contracts && cp node_modules/@openzeppelin/contracts/build/contracts/* build/contracts/ && truffle migrate --f 7 --to 7",
|
2022-07-20 11:38:16 -07:00
|
|
|
"deploy-read-only": "mkdir -p build/contracts && cp node_modules/@openzeppelin/contracts/build/contracts/* build/contracts/ && truffle migrate --f 1 --to 2",
|
2022-09-12 16:41:39 -07:00
|
|
|
"deploy-bridges-only": "mkdir -p build/contracts && cp node_modules/@openzeppelin/contracts/build/contracts/* build/contracts/ && truffle migrate --f 3 --to 4",
|
2022-03-03 13:40:32 -08:00
|
|
|
"deploy_weth9": "mkdir -p build/contracts && cp node_modules/@openzeppelin/contracts/build/contracts/* build/contracts/ && truffle migrate --f 9",
|
2022-08-12 05:43:37 -07:00
|
|
|
"deploy-batched-vaa-sender": "mkdir -p build/contracts && cp node_modules/@openzeppelin/contracts/build/contracts/* build/contracts/ && truffle migrate --f 10 --to 10",
|
2022-04-28 09:20:38 -07:00
|
|
|
"verify": "patch -u -f node_modules/truffle-plugin-verify/constants.js -i truffle-verify-constants.patch; truffle run verify $npm_config_module@$npm_config_contract_address --network $npm_config_network",
|
2022-07-11 05:57:40 -07:00
|
|
|
"verify-token": "patch -u -f node_modules/truffle-plugin-verify/constants.js -i truffle-verify-constants.patch; truffle run verify BridgeToken@$npm_config_contract_address --forceConstructorArgs string:$npm_config_constructor_args --network $npm_config_network",
|
2022-04-28 09:20:38 -07:00
|
|
|
"abigen": "truffle run abigen"
|
2020-07-26 09:04:45 -07:00
|
|
|
},
|
|
|
|
"author": "",
|
2020-08-06 14:32:31 -07:00
|
|
|
"license": "ISC",
|
|
|
|
"dependencies": {
|
2022-05-16 07:06:17 -07:00
|
|
|
"caver-js": "^1.8.1",
|
2021-07-20 10:59:56 -07:00
|
|
|
"dotenv": "^10.0.0",
|
2021-05-27 07:01:49 -07:00
|
|
|
"elliptic": "^6.5.2",
|
|
|
|
"ganache-cli": "^6.12.1",
|
|
|
|
"jsonfile": "^4.0.0",
|
2022-05-16 07:06:17 -07:00
|
|
|
"solc": "^0.8.4",
|
|
|
|
"truffle-hdwallet-provider-klaytn": "^1.4.2"
|
2020-08-06 14:32:31 -07:00
|
|
|
}
|
2020-07-26 09:04:45 -07:00
|
|
|
}
|