This is a demo project that showcases a simple use case to integrate with WhaleLink Infrastructure. The repository includes a sample contract, a test for the contract, and a deployment script.
To get started, follow these steps:
- Clone the repository to your local machine.
- Navigate to the project directory.
- Install the project dependencies using the command
npm install. - Run
npx hardhathelp to view a list of available tasks.
npx hardhat test- Runs the tests for the sample contract.REPORT_GAS=true npx hardhat test- Runs the tests and reports gas usage.npx hardhat node- Spins up a local Ethereum node.npx hardhat run scripts/deploy.js- Deploys the contract to a local Ethereum node.
- Fork the repository.
- Create a new branch for your changes.
- Make your changes and commit them.
- Push your changes to your fork.
- Submit a pull request with a detailed description of your changes.
This project is licensed under the MIT License - see the LICENSE.md file for details.