Smart Beaver is a user-friendly smart contract wizard that simplifies the creation and deployment of smart contracts. Users can choose a standard, configure its properties, and select extensions. All smart contracts generated through Smart Beaver are written in pure Ink!, without any additional libraries.
Smart Beaver was born out of the need for an accessible smart contract creation tool, specifically for popular standards like PSP22 on Polkadot. Users can customize their smart contracts with ease, and our wizard dynamically generates source code in pure Ink! based on their selections.
Our approach involves a comprehensive smart contract written in clean Ink! with all available extensions. Rust macros and custom annotations enable us to tailor the source code to the user's configuration. A custom preprocessor hides unused extensions for a more user-friendly display.
Once the user is satisfied with the result, they can compile the source code, and our API handles the compilation process using Rust features to configure the code. The resulting WebAssembly (WASM) code is returned to the frontend, prompting the user to sign a deployment transaction with their wallet.
Smart Beaver is an open-source tool that simplifies smart contract development, aligning with PSP standards on Polkadot. It prioritizes code purity by using pure Ink! and offers a user-friendly interface for configuration. Our journey has deepened our knowledge of Ink! and Rust macros, providing valuable insights into contract development following PSP standards. Overall, Smart Beaver represents an efficient and accessible solution for smart contract creation and deployment.
Backend
Frontend
DevOps
Design