45 lines
2.5 KiB
JSON
45 lines
2.5 KiB
JSON
{
|
|
"name": "wormhole",
|
|
"version": "1.0.0",
|
|
"description": "",
|
|
"main": "networks.js",
|
|
"devDependencies": {
|
|
"@chainsafe/truffle-plugin-abigen": "0.0.1",
|
|
"@openzeppelin/cli": "^2.8.2",
|
|
"@openzeppelin/contracts": "^4.3.1",
|
|
"@openzeppelin/test-environment": "^0.1.6",
|
|
"@openzeppelin/test-helpers": "^0.5.9",
|
|
"@poanet/solidity-flattener": "^3.0.6",
|
|
"@truffle/hdwallet-provider": "^1.7.0",
|
|
"chai": "^4.2.0",
|
|
"mocha": "^8.2.1",
|
|
"truffle": "5.3.14",
|
|
"truffle-assertions": "^0.9.2",
|
|
"truffle-plugin-verify": "^0.5.11"
|
|
},
|
|
"scripts": {
|
|
"build": "truffle compile",
|
|
"test": "mkdir -p build/contracts && cp node_modules/@openzeppelin/contracts/build/contracts/* build/contracts/ && truffle test --network test",
|
|
"migrate": "mkdir -p build/contracts && cp node_modules/@openzeppelin/contracts/build/contracts/* build/contracts/ && truffle migrate --to 4",
|
|
"flatten": "mkdir -p node_modules/@poanet/solidity-flattener/contracts && cp -r contracts/* node_modules/@poanet/solidity-flattener/contracts/ && poa-solidity-flattener",
|
|
"deploy-bridge-implementation-only": "mkdir -p build/contracts && cp node_modules/@openzeppelin/contracts/build/contracts/* build/contracts/ && truffle migrate --f 6 --to 6",
|
|
"deploy-read-only": "mkdir -p build/contracts && cp node_modules/@openzeppelin/contracts/build/contracts/* build/contracts/ && truffle migrate --f 1 --to 2",
|
|
"deploy_weth9": "mkdir -p build/contracts && cp node_modules/@openzeppelin/contracts/build/contracts/* build/contracts/ && truffle migrate --f 9",
|
|
"deploy-batched-vaa-sender": "mkdir -p build/contracts && cp node_modules/@openzeppelin/contracts/build/contracts/* build/contracts/ && truffle migrate --f 10 --to 10",
|
|
"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",
|
|
"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",
|
|
"abigen": "truffle run abigen"
|
|
},
|
|
"author": "",
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"caver-js": "^1.8.1",
|
|
"dotenv": "^10.0.0",
|
|
"elliptic": "^6.5.2",
|
|
"ganache-cli": "^6.12.1",
|
|
"jsonfile": "^4.0.0",
|
|
"solc": "^0.8.4",
|
|
"truffle-hdwallet-provider-klaytn": "^1.4.2"
|
|
}
|
|
}
|