UNPKG

@cartesi/staking-pool

Version:
103 lines (102 loc) 4.43 kB
{ "name": "@cartesi/staking-pool", "version": "2.1.0", "description": "PoS Staking Pools", "scripts": { "build": "run-s compile export", "clean": "rimraf artifacts && rimraf cache && rimraf deployments/localhost && rimraf src/types/* && rimraf dist/deploy", "copy-dts": "copyfiles -u 1 \"src/**/*.d.ts\" dist/src", "compile": "hardhat compile", "deploy": "run-s deploy:development", "deploy:development": "hardhat deploy --network localhost", "deploy:goerli": "hardhat deploy --network goerli --export export/abi/goerli.json", "deploy:mainnet": "hardhat deploy --network mainnet --export export/abi/mainnet.json", "deploy:sepolia": "hardhat deploy --network sepolia --export export/abi/sepolia.json", "deploy:testnet": "run-s deploy:goerli deploy:polygon_mumbai deploy:optimism_goerli deploy:bsc_testnet deploy:avax_testnet", "export": "hardhat export-artifacts export/artifacts --hide-sources --including-empty-bytecode --including-no-public-functions", "info": "npm-scripts-info", "prepack": "run-s build tsc copy-dts", "prettier": "prettier --check src/**/*.ts test/**/*.ts contracts/**/*.sol", "solhint": "solhint contracts/**/*.sol", "start": "hardhat node", "test": "hardhat test", "test:coverage": "hardhat coverage", "tsc": "tsc" }, "scripts-info": { "build": "Build contracts and typescript code", "copy-dts": "Copy TypeChain type definition files to typescript output dir", "clean": "Clean build artifacts, including contracts deployment information", "deploy": "Deploy contracts to local ganache. Requires ganache running on localhost:8545", "deploy:development": "Deploy contracts to local node. Requires node running on localhost:8545", "deploy:goerli": "Deploy contracts to goerli. Requires two environment variables: PROJECT_ID and MNEMONIC.", "deploy:mainnet": "Deploy contracts to mainnet.", "deploy:sepolia": "Deploy contracts to sepolia. Requires two environment variables: PROJECT_ID and MNEMONIC.", "deploy:testnet": "Deploy contracts to all supported testnets. Requires two environment variables: PROJECT_ID and MNEMONIC.", "export": "Export artifacts in a simpler format", "info": "Displays information about the scripts.", "prettier": "Check code style", "solhint": "Run solidity linter", "start": "Start hardhat node server", "test": "Run unit tests", "test:coverage": "Run test coverage report" }, "dependencies": { "@cartesi/pos": "^2.1.0", "@chainlink/contracts": "0.2.2", "@ensdomains/ens-contracts": "0.0.7", "@openzeppelin/contracts": "4.3.2", "@openzeppelin/contracts-upgradeable": "4.3.2" }, "devDependencies": { "@nomiclabs/hardhat-ethers": "^2.2.1", "@nomiclabs/hardhat-etherscan": "^3.1.2", "@nomiclabs/hardhat-waffle": "^2.0.1", "@typechain/ethers-v5": "^10.1.0", "@typechain/hardhat": "^6.1.3", "@types/chai": "^4.2.22", "@types/keccak": "^3.0.1", "@types/mocha": "^10.0.0", "@types/node": "^18.11.8", "chai": "^4.3.4", "copyfiles": "^2.4.1", "ethereum-waffle": "^3.4.0", "ethers": "^5.7.2", "hardhat": "^2.12.1", "hardhat-deploy": "0.11.20", "npm-run-all": "^4.1.5", "npm-scripts-info": "^0.3.9", "prettier": "^2.4.1", "prettier-plugin-solidity": "^1.0.0", "rimraf": "^3.0.2", "solhint": "^3.3.6", "solhint-plugin-prettier": "^0.0.5", "solidity-coverage": "^0.8.2", "ts-generator": "^0.1.1", "ts-node": "^10.2.1", "typechain": "^8.1.0", "typescript": "^4.9.3" }, "repository": { "type": "git", "url": "git://github.com/cartesi/staking-pool.git" }, "keywords": [ "cartesi" ], "files": [ "contracts", "deployments/*/*.json", "deployments/*/.chainid", "dist/src/types", "dist/deploy/*.js", "export" ], "main": "./dist/src/types/index.js", "types": "./dist/src/types/index.d.ts", "author": "Danilo Tuler <danilo@cartesi.io>", "license": "Apache-2.0", "volta": { "node": "18.18.0" } }