UNPKG

witnet-solidity-bridge

Version:

Witnet Solidity Bridge contracts for EVM-compatible chains

98 lines 4.22 kB
{ "name": "witnet-solidity-bridge", "version": "3.0.0", "description": "Witnet Solidity Bridge contracts for EVM-compatible chains", "author": "Witnet Foundation <info@witnet.foundation>", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/witnet/witnet-solidity-bridge" }, "type": "module", "keywords": [ "bridge", "witnet", "ethereum" ], "exports": { ".": "./src/index.js", "./contracts/": "./contracts/", "./utils": "./src/utils.js" }, "files": [ "artifacts", "build/contracts", "contracts/", "migrations/*.json", "settings", "src" ], "dependencies": { "dotenv": "^16.6.1", "lodash.merge": "^4.6.2" }, "devDependencies": { "@matterlabs/hardhat-zksync": "^1.6.2", "@matterlabs/hardhat-zksync-deploy": "^1.8.0", "@matterlabs/hardhat-zksync-solc": "^1.5.1", "@matterlabs/hardhat-zksync-upgradable": "^1.10.0", "@matterlabs/hardhat-zksync-verify": "^1.9.0", "@nomicfoundation/hardhat-ethers": "^4.0.1", "@nomicfoundation/hardhat-toolbox": "^6.1.0", "@nomicfoundation/hardhat-verify": "^3.0.2", "@openzeppelin/contracts": "^5.4.0", "@openzeppelin/contracts-upgradeable": "^5.4.0", "ado-contracts": "1.0.0", "bn.js": "^4.12.2", "chai": "^4.5.0", "custom-error-test-helper": "^1.0.6", "eslint": "^8.57.1", "eslint-config-standard": "^17.1.0", "eslint-plugin-import": "^2.32.0", "eslint-plugin-n": "^16.6.2", "eslint-plugin-promise": "^6.6.0", "eth-gas-reporter": "^0.2.27", "eth-helpers": "^1.3.1", "hardhat": "^3.0.6", "hardhat-gas-reporter": "^2.3.0", "nanoassert": "^2.0.0", "sha3-wasm": "^1.0.0", "solhint": "^5.2.0", "truffle": "^5.11.5", "truffle-assertions": "^0.9.2", "truffle-flattener": "^1.6.0", "truffle-plugin-verify": "^0.6.7", "web3": "^4.16.0", "zksync-ethers": "^6.20.1" }, "scripts": { "clean": "pnpm run clean:artifacts && pnpm run clean:build && pnpm run clean:cache && pnpm run clean:flattened", "clean:artifacts": "node ./scripts/clean.cjs artifacts migrations/zksync/artifacts-zk", "clean:build": "node ./scripts/clean.cjs build", "clean:cache": "node ./scripts/clean.cjs cache migrations/zksync/cache-zk", "clean:flattened": "node ./scripts/clean.cjs flattened", "compile": "npx truffle compile --all --config ./truffle-config.cjs", "console": "npx hardhat console", "flatten": "node ./scripts/flatten.cjs 2>&1", "flatten:all": "pnpm run clean && pnpm run flatten:core && pnpm run flatten:apps && pnpm run flatten:libs && pnpm run flatten:proxy", "flatten:apps": "pnpm run flatten contracts/apps/", "flatten:core": "pnpm run flatten contracts/core/", "flatten:libs": "pnpm run flatten contracts/libs/WitOracleResultErrorsLib.sol && pnpm run flatten contracts/libs/WitOracleRadonEncodingLib.sol && pnpm run flatten contracts/libs/WitPriceFeedsLegacyDataLib.sol", "flatten:proxy": "pnpm run flatten contracts/core/WitnetProxy.sol", "fmt:js": "eslint \"**/*.cjs\"", "fmt:sol": "solhint --max-warnings 0 \"contracts/**/*.sol\"", "fmt!:js": "eslint \"**/*.cjs\" --fix", "fmt!:sol": "solhint --max-warnings 0 \"contracts/**/*.sol\" --fix", "fmt!": "pnpm run fmt!:js && pnpm run fmt!:sol", "fmt": "pnpm run fmt:js && pnpm run fmt:sol", "deploy": "npx truffle migrate --config ./truffle-config.cjs", "ops:rng:sla": "npx truffle migrate --migrations_directory ./migrations/ops/rng/sla --compile-none --network", "ops:drp:pfs": "npx truffle migrate --migrations_directory ./migrations/ops/drp/pfs --compile-none --network", "ops:drp:wrb": "npx truffle migrate --migrations_directory ./migrations/ops/drp/wrb --compile-none --network", "test": "npx truffle test", "verify": "npx hardhat run ./scripts/verify.js 2>&1", "zksync:compile": "npx hardhat --config migrations/zksync/hardhat.config.js compile", "zksync:deploy": "npx hardhat --config migrations/zksync/hardhat.config.js deploy-zksync:contract --deployment-type create2 --verify --contract-name", "zksync:verify": "npx hardhat --config migrations/zksync/hardhat.config.js verify" } }