windranger-interview-solidity

所属分类:Leetcode/题库
开发工具:TypeScript
文件大小:237KB
下载次数:0
上传日期:2022-09-09 02:05:22
上 传 者sh-1993
说明:  WindRanger配对编程面试的候选人设置
(Candidate setup for the WindRanger pair-programming interview)

文件列表:
.eslintrc (2425, 2022-09-09)
.husky (0, 2022-09-09)
.husky\pre-commit (58, 2022-09-09)
.lintstagedrc (131, 2022-09-09)
.prettierignore (58, 2022-09-09)
.prettierrc (613, 2022-09-09)
.solhint.json (992, 2022-09-09)
.solhintignore (270, 2022-09-09)
LICENSE (11357, 2022-09-09)
contracts (0, 2022-09-09)
contracts\test (0, 2022-09-09)
contracts\test\Tub.sol (1071, 2022-09-09)
docs (0, 2022-09-09)
docs\SLITHER.md (1488, 2022-09-09)
hardhat.config.ts (1291, 2022-09-09)
package-lock.json (1157751, 2022-09-09)
package.json (2087, 2022-09-09)
renovate.json (257, 2022-09-09)
slither.json (290, 2022-09-09)
test (0, 2022-09-09)
test\contract (0, 2022-09-09)
test\contract\tub (0, 2022-09-09)
test\contract\tub\tub-events.ts (555, 2022-09-09)
test\contract\tub\verify-tub-events.ts (663, 2022-09-09)
test\framework (0, 2022-09-09)
test\framework\contracts.ts (2390, 2022-09-09)
test\framework\event-listener.ts (1369, 2022-09-09)
test\framework\events.ts (1578, 2022-09-09)
test\framework\time.ts (762, 2022-09-09)
test\framework\transaction.ts (649, 2022-09-09)
test\tub.test.ts (3078, 2022-09-09)
tsconfig.json (665, 2022-09-09)
... ...

# Windranger interview: Solidity setup Candidate setup for the WindRanger pair-programming interview. ## Environment Ensure you have latest [NodeJs LTS](https://nodejs.org/en/) installed and setup to work in the terminal window. ## Project Installation, building and running Git clone, then from the project root execute #### Install Node Dependencies To retrieve the project dependencies and before any further tasks will run correctly ```shell npm ci ``` #### Build and Test ```shell npm run build npm test ``` If you make changes that don't get picked up then add a clean into the process ```shell npm run clean npm run build npm test ``` ### Hardhat Running directly against hardhat #### All tests Target to run all the mocha tests found in the `/test` directory, transpiled as necessary. ```shell npx hardhat test ``` #### Single test Run a single test (or a regex of tests), then pass in as an argument. ```shell npx hardhat test .\test\sample.test.ts ``` #### Scripts The TypeScript transpiler will automatically as needed, execute through HardHat for the instantiated environment ```shell npx hardhat run .\scripts\sample-script.ts ```

近期下载者

相关文件


收藏者