Prerequisites
Required Tools
- Node.js 18+ - JavaScript runtime
- pnpm (recommended) or npm/yarn - Package manager
- Git - Version control
- Wallet with Base ETH - For deployments and transactions
Quick Start Options
Environment Configuration
Basic Setup
Create a.env
file in your project root:
Security Best Practices
Never commit private keys to version control!
- Add
.env
to your.gitignore
- Use environment variables in production
- Consider using a key management service
- Use separate wallets for development and production
Client Initialization
Basic Setup
Advanced Configuration
TypeScript Configuration
Recommendedtsconfig.json
for BondKit projects:
Testing Your Setup
Create a test filetest-bondkit.ts
:
Next Steps
Quickstart Guide
Deploy your first token in minutes
SDK Reference
Explore all SDK methods and features
Demo Application
Study the complete implementation
API Documentation
Learn about backend services and analytics
Troubleshooting
Module not found errors
Module not found errors
Ensure the SDK is properly installed:If using React components, you may need:
TypeScript errors
TypeScript errors
Update TypeScript to latest version:
Connection issues
Connection issues
- Verify your RPC endpoint is working
- Check wallet has sufficient Base ETH
- Ensure private key format is correct (with 0x prefix)
Build errors
Build errors
Clear cache and reinstall: