| Crates.io | dotkit |
| lib.rs | dotkit |
| version | 0.1.2 |
| created_at | 2024-12-18 08:14:25.339061+00 |
| updated_at | 2025-08-13 13:45:36.216357+00 |
| description | A Scaffolding Tool for Ink Smart Contracts |
| homepage | https://github.com/implabinash/dotkit |
| repository | https://github.com/noffeecraft/dotkit |
| max_upload_size | |
| id | 1487308 |
| size | 5,394 |
DotKit is a powerful scaffolding tool designed to help you quickly generate basic templates for ink! smart contracts. Whether you're building a Counter, NFT, Token, or Multisig contract, DotKit provides a streamlined way to kickstart your project, allowing you to focus on the specifics of your use case.
With DotKit, you can:
Clone the repository:
cargo install dotkit
Build the project:
cargo contract build --release
Run DotKit:
dotkit
Follow the interactive prompts to:
Once complete, DotKit will generate a new folder with the scaffolded contract files.
Hereβs an example of using DotKit to generate a Counter contract:
Run the tool:
dotkit
Input the details when prompted:
Enter your project name: counter_project
Enter your name: Alice
Enter your email: alice@example.com
Pick a project type:
- [c] Counter Contract
- [t] Token Contract
- [n] NFT Contract
- [m] Multisig Contract
Select an option: c
DotKit will generate the contract and display:
Let's cook!π
1. Open `lib.rs`
2. Make some required changes
3. Run `cargo contract build` to build the contract"
Navigate to the generated folder:
cd counter_project
Open llib.rs file and adjust the generated contract file as needed.
The scaffolded project will have the following structure:
project_name/
βββ lib.rs # Main ink! contract file
βββ Cargo.toml # Rust project file
βββ README.md # Project README file
Contributions are welcome! Feel free to open issues or submit pull requests. See the CONTRIBUTING.md file for more details.
This project is licensed under the MIT License. See the LICENSE file for details.
Special thanks to the ink! development community for their fantastic tools and support.