Overview:
This product offers a SvelteKit app with several features aimed at simplifying the development process for decentralized applications (dapps). The package includes auto-generated and fully-typed ABIs using wagmi-generate, a Web3modal connect button utilizing wagmi-core, Foundry contracts, and configurations for easy multi-chain deployments. The setup also allows for the creation of dapps with a one-click deploy button, making deployment seamless via Vercel.
Features:
- SvelteKit App: Framework for building dapps.
- Auto-generated ABIs: Generated and fully-typed ABIs using wagmi-generate for smart contracts.
- Web3modal Connect Button: Integration with wagmi-core for easy connection to Web3 wallets.
- Foundry Contracts: Ready-to-use Foundry contracts for dapp development.
- Multi-Chain Deployments: Configurations to facilitate deployment on multiple blockchain networks.
- One-Click Deploy Button: Simplifies deployment process with Vercel.
- Easy Installation: Setup guide provided for smooth installation process.
- Environment Configuration: .env file setup for convenient configuration of test accounts and project settings.
Installation:
- Click the “Deploy with Vercel” button.
- Clone the repository created by Vercel:
git clone <REPO_NAME> && cd <REPO_NAME>. - Install Foundry dependency:
forge install foundry-rs/forge-std(Ensure Foundry is installed, details here). - Run setup script and copy .env.example files:
sh setup.sh. - Configure mnemonic phrase and Web3modal project id in root .env.
- For manual dapp creation, clone/fork the repo:
git clone https://github.com/d1onys1us/dapp-slaps.git. - Install packages and setup .env:
cd dapp-slaps && sh setup.sh. - Set mnemonic phrase and Web3modal project id in .env.
- Source environment vars:
source .env. - Start the development environment as required.
Summary:
This product is a comprehensive solution for developers looking to create dapps using SvelteKit and Foundry contracts. By offering features such as auto-generated ABIs, simplified deployment processes, and environment configurations, it aims to streamline the development workflow. The provided installation guide ensures a smooth setup process, making it accessible to developers of varying skill levels.