TOL Contract is an open-source project that serves as the core smart contract for the TOL (Token Offering Launchpad) project, designed to facilitate decentralized application (DApp) launches. This project utilizes the Hardhat framework and is written in Solidity.
Before you begin, ensure you have met the following requirements:
- Node.js and npm installed
- Hardhat installed globally (
npm install --global hardhat
) - A development environment set up for Solidity
- Clone the repository:
git clone https://github.com/toldapp/tol-contract.git
- Navigate to the project directory:
cd tol-contract
- Install the dependencies:
npm install
To compile the smart contracts, run:
npx hardhat compile
To deploy the contracts, create a deployment script in the scripts
directory and run:
npx hardhat run scripts/deploy.js
To run the tests, use:
npx hardhat test
Contributions are welcome! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature
). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/your-feature
). - Create a Pull Request.
Please ensure your code follows the project's coding standards and includes tests for any new features or bug fixes.
This project is licensed under the GPL 2.0 License - see the LICENSE file for details.