{"_id":"@congson1907/sunswap-core","_rev":"1-d60539b710006417c34db999ca62c46c","name":"@congson1907/sunswap-core","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"@congson1907/sunswap-core","version":"0.0.1","description":"The core contract for SunSwap","main":"index.js","scripts":{"clean":"shx rm -rf ./artifacts ./cache ./coverage ./types ./coverage.json && npm run typechain","test":"hardhat test","coverage":"npx hardhat coverage --solcoverjs ./.solcoverjs --testfiles \"tests/*.ts\"","lint:ts":"eslint . --ext .ts --fix ","format":"prettier --config .prettierrc . --write","lint:sol":"solhint -f table contracts/**/*.sol --fix","lint":"npm run format && npm run lint:sol && npm run lint:ts","typechain":"npx hardhat typechain","deploy":"npx hardhat run scripts/deploy_all.ts","verify":"npx hardhat run scripts/verify.ts"},"repository":{"type":"git","url":""},"keywords":["nft"],"author":{"name":"congson1907"},"license":"MIT","homepage":"","devDependencies":{"@nomicfoundation/hardhat-toolbox":"^2.0.1","@nomiclabs/hardhat-ethers":"^2.2.2","@nomiclabs/hardhat-etherscan":"^3.1.6","@nomiclabs/hardhat-solhint":"^3.0.0","@nomiclabs/hardhat-truffle5":"^2.0.7","@nomiclabs/hardhat-web3":"^2.0.0","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","chai":"^4.3.7","eslint":"^8.34.0","eslint-config-prettier":"^8.6.0","eslint-plugin-prettier":"^4.2.1","ethers":"^5.7.2","hardhat":"^2.12.7","mocha-junit-reporter":"^2.2.0","mocha-multi-reporters":"^1.5.1","prettier":"^2.8.4","prettier-plugin-solidity":"^1.1.2","solhint":"^3.4.0","solhint-plugin-prettier":"^0.0.5","web3":"^1.8.2"},"dependencies":{"@nomicfoundation/hardhat-chai-matchers":"^1.0.6","@typechain/ethers-v5":"^10.2.0","@typechain/hardhat":"^6.1.5","@types/mocha":"^10.0.1","dotenv":"^16.0.3","hardhat-docgen":"^1.3.0","hardhat-gas-reporter":"^1.0.9","js-big-decimal":"^1.4.1","mocha":"10.2.0","solidity-coverage":"^0.8.2","truffle-assertions":"^0.9.2","ts-node":"^10.9.1","typechain":"^8.1.1","typescript":"^4.9.5"},"directories":{"test":"tests"},"gitHead":"ffa68c7d4a92c12eec8fd030e17ef8ec97352f52","_id":"@congson1907/sunswap-core@0.0.1","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-vHRyOrAYermgos+p5cjvLIA/7rX0A0EPm6swvAY+2zWy4R5wdS4/vl9/SP3HNFWhCnLBM7BPsSiXFInSqC7yAw==","shasum":"de9fe15f1e797ead55383e8a357276efa88fd9a1","tarball":"https://registry.npmjs.org/@congson1907/sunswap-core/-/sunswap-core-0.0.1.tgz","fileCount":31,"unpackedSize":39956,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDu2KWGWgSst4WKnnM1KEOIPG6Q9GtTlzsl0lPHQwYptwIge4Tem7GieP5J7xQlm1/ADN6GlbUSttNpII7KQTb35Eg="}]},"_npmUser":{"name":"congson1907","email":"congson1907vn@gmail.com"},"maintainers":[{"name":"congson1907","email":"congson1907vn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sunswap-core_0.0.1_1687508215631_0.7399215460192508"},"_hasShrinkwrap":false},"0.0.2":{"name":"@congson1907/sunswap-core","version":"0.0.2","description":"The core contract for SunSwap","main":"index.js","scripts":{"clean":"shx rm -rf ./artifacts ./cache ./coverage ./types ./coverage.json && npm run typechain","test":"hardhat test","coverage":"npx hardhat coverage --solcoverjs ./.solcoverjs --testfiles \"tests/*.ts\"","lint:ts":"eslint . --ext .ts --fix ","format":"prettier --config .prettierrc . --write","lint:sol":"solhint -f table contracts/**/*.sol --fix","lint":"npm run format && npm run lint:sol && npm run lint:ts","typechain":"npx hardhat typechain","deploy":"npx hardhat run scripts/deploy_all.ts","verify":"npx hardhat run scripts/verify.ts"},"repository":{"type":"git","url":""},"keywords":["nft"],"author":{"name":"congson1907"},"license":"MIT","homepage":"","devDependencies":{"@nomicfoundation/hardhat-toolbox":"^2.0.1","@nomiclabs/hardhat-ethers":"^2.2.2","@nomiclabs/hardhat-etherscan":"^3.1.6","@nomiclabs/hardhat-solhint":"^3.0.0","@nomiclabs/hardhat-truffle5":"^2.0.7","@nomiclabs/hardhat-web3":"^2.0.0","@typescript-eslint/eslint-plugin":"^5.53.0","@typescript-eslint/parser":"^5.53.0","chai":"^4.3.7","eslint":"^8.34.0","eslint-config-prettier":"^8.6.0","eslint-plugin-prettier":"^4.2.1","ethers":"^5.7.2","hardhat":"^2.12.7","mocha-junit-reporter":"^2.2.0","mocha-multi-reporters":"^1.5.1","prettier":"^2.8.4","prettier-plugin-solidity":"^1.1.2","solhint":"^3.4.0","solhint-plugin-prettier":"^0.0.5","web3":"^1.8.2"},"dependencies":{"@nomicfoundation/hardhat-chai-matchers":"^1.0.6","@typechain/ethers-v5":"^10.2.0","@typechain/hardhat":"^6.1.5","@types/mocha":"^10.0.1","dotenv":"^16.0.3","hardhat-docgen":"^1.3.0","hardhat-gas-reporter":"^1.0.9","js-big-decimal":"^1.4.1","mocha":"10.2.0","solidity-coverage":"^0.8.2","truffle-assertions":"^0.9.2","ts-node":"^10.9.1","typechain":"^8.1.1","typescript":"^4.9.5"},"directories":{"test":"tests"},"gitHead":"3266ad19d0a348d8b2462f90c656c67cebcd5c28","_id":"@congson1907/sunswap-core@0.0.2","_nodeVersion":"16.20.0","_npmVersion":"8.19.4","dist":{"integrity":"sha512-gsmZjtAH4D6DLD0Euo1ECbaqc80GBfnEsWitBfvktNDu7HLL6/IF32+rWEcPfyPvYGsK01pyCHO8K6aVeoTTcA==","shasum":"a7b762ad0525bed633291758fe53c05ce5fba142","tarball":"https://registry.npmjs.org/@congson1907/sunswap-core/-/sunswap-core-0.0.2.tgz","fileCount":56,"unpackedSize":1257393,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICo03nhrxPuYu+wbpvEXZ1mylJ7oC/xnDmBn37RxfrSTAiEA9dXRdbZTPjSS5SNCsGNNcgF6ZN9hU7BeAGRyODRiqWc="}]},"_npmUser":{"name":"congson1907","email":"congson1907vn@gmail.com"},"maintainers":[{"name":"congson1907","email":"congson1907vn@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sunswap-core_0.0.2_1687508518417_0.9115138635660807"},"_hasShrinkwrap":false}},"time":{"created":"2023-06-23T08:16:55.557Z","0.0.1":"2023-06-23T08:16:55.864Z","modified":"2023-06-23T08:21:58.826Z","0.0.2":"2023-06-23T08:21:58.662Z"},"maintainers":[{"name":"congson1907","email":"congson1907vn@gmail.com"}],"description":"The core contract for SunSwap","keywords":["nft"],"repository":{"type":"git","url":""},"author":{"name":"congson1907"},"license":"MIT","readme":"# Solidity Template with Hardhat [![Hardhat][hardhat-badge]][hardhat] [![License: MIT][license-badge]]\n\n[hardhat]: https://hardhat.org/\n[hardhat-badge]: https://img.shields.io/badge/Built%20with-Hardhat-FFDB1C.svg\n[license]: https://opensource.org/licenses/MIT\n[license-badge]: https://img.shields.io/badge/License-MIT-blue.svg\n\nA Hardhat-based template for developing smart contract in Solidity\n\n-   [Hardhat](https://github.com/nomiclabs/hardhat): compile, run and test smart contracts\n-   [TypeChain](https://github.com/ethereum-ts/TypeChain): generate TypeScript bindings for smart contracts\n-   [Ethers](https://github.com/ethers-io/ethers.js/): renowned Ethereum library and wallet implementation\n-   [Solhint](https://github.com/protofire/solhint): solidity linter\n-   [Eslint](https://github.com/eslint/eslint): code linter\n-   [Solcover](https://github.com/sc-forks/solidity-coverage): code coverage\n-   [Prettier Plugin Solidity](https://github.com/prettier-solidity/prettier-plugin-solidity): code formatter\n-   [Husky](https://github.com/typicode/husky): Git hooks\n\n## Getting Started\n\nClick the [`Use this template`](https://github.com/ndtr2000/solidity-hardhat-template/generate) button at the top of the page to\ncreate a new repository with this repo as the initial state.\n\n## Features\n\nThis template builds upon the frameworks and libraries mentioned above, so for details about their specific features,\nplease consult their respective documentations.\n\n### Sensible Defaults\n\nThis template comes with sensible default configurations in the following files:\n\n```text\n├── .commitlintrc.yml\n├── .editorconfig\n├── .eslintignore\n├── .eslintrc.yml\n├── .gitignore\n├── .prettierignore\n├── .prettierrc.yml\n├── .solcover.js\n├── .solhintignore\n├── .solhint.json\n├── .yarnrc.yml\n└── hardhat.config.ts\n```\n\n## Usage\n\n### Pre Requisites\n\nBefore being able to run any command, you need to create a `.env` file and set a BIP-39 compatible mnemonic as an\nenvironment variable. You can follow the example in `.env.example`. If you don't already have a mnemonic, you can use\nthis [website](https://iancoleman.io/bip39/) to generate one.\n\nThen, proceed with installing dependencies:\n\n```sh\n$ yarn install\n```\n\n### Compile\n\nCompile the smart contracts with Hardhat:\n\n```sh\n$ yarn compile\n```\n\n### TypeChain\n\nCompile the smart contracts and generate TypeChain bindings:\n\n```sh\n$ yarn typechain\n```\n\n### Test\n\nRun the tests with Hardhat:\n\n```sh\n$ yarn test\n```\n\n### Lint Solidity\n\nLint the Solidity code:\n\n```sh\n$ yarn lint:sol\n```\n\n### Lint TypeScript\n\nLint the TypeScript code:\n\n```sh\n$ yarn lint:ts\n```\n\n### Coverage\n\nGenerate the code coverage report:\n\n```sh\n$ yarn coverage\n```\n\n### Report Gas\n\nSee the gas usage per unit test and average gas per method call:\n\n```sh\n$ REPORT_GAS=true yarn test\n```\n\n### Clean\n\nDelete the smart contract artifacts, the coverage reports and the Hardhat cache:\n\n```sh\n$ yarn clean\n```\n\n### Deploy\n\nDeploy the contracts to Hardhat Network:\n\n```sh\n$ yarn deploy --greeting \"Bonjour, le monde!\"\n```\n\n### Fix husky not executable\n\n```sh\nchmod ug+x .husky/*\nchmod ug+x .git/hooks/*\n```\n\n## License\n\n[MIT](./LICENSE.md) © Nguyễn Đình Trường\n","readmeFilename":"README.md"}