Skip to content

jio-gl/example-solidity-ts

Repository files navigation

Example Solidity TypeScript

NodeJS

Ensure you have latest NodeJs LTS 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

npm ci

Build and Test

npm run build
npm test

You can clean too:

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.

npx hardhat test

Single test

Run a single test (or a regex of tests), then pass in as an argument.

 npx hardhat test .\test\sample.test.ts

Scripts

The TypeScript transpiler will automatically as needed, execute through HardHat for the instantiated environment

npx hardhat run .\scripts\sample-script.ts

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published