Welcome to the TeaSwap Types Generator repository. This tool is designed to generate TypeScript types for the TeaSwap project.
The TeaSwap Types Generator is a utility that helps developers create TypeScript types based on the TeaSwap API specifications. This ensures type safety and improves the development experience.
To install the dependencies, run:
yarn install
To generate the types, use the following command:
yarn run generate
This will create the necessary TypeScript type definitions in the src/types
directory.
Up-to-date artifacts from the Tea-Fi smart contracts should be stored in the artifacts
directory. This ensures that the latest contract ABIs and other relevant files are easily accessible for type generation and other development tasks.
We welcome contributions! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature-branch
). - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.