Close Out Report

Project Catalyst Close Out Report - Fund 12

Project Information

Name of Project: CardanoKit - Swift Cardano Library Upgrade and Enhancement Project URL on Catalyst: Proposalarrow-up-right Project Number: Fund 12 Project Manager: Tokeo Development Team Date Project Started: January 2025 Date Project Completed: August 2025

Challenge KPIs and How the Project Addressed Them

Fund 12 Developer Tools Challenge KPIs:

  1. Increase Developer Adoption: CardanoKit provides a modern, Swift-native SDK that significantly lowers the barrier to entry for iOS developers wanting to build on Cardano

  2. Improve Developer Experience: The library offers a clean, abstracted interface that handles complex Cardano operations while maintaining full functionality

  3. Ecosystem Growth: By providing production-ready tools for iOS development, the project enables mobile wallet applications and dApps on the Cardano ecosystem

How We Addressed These KPIs:

  • Created a complete rebuild of the legacy SwiftCardano library with modern Swift 6.0 support

  • Integrated the latest Cardano Serialization Library (v14.1.2) supporting all recent hard forks

  • Delivered comprehensive documentation, example applications, and unit tests (15 tests with 100% pass rate)

  • Published the library via Swift Package Manager for easy integration

Project KPIs and How the Project Addressed Them

Original Project Goals:

  1. Upgrade CSL Integration: βœ… ACHIEVED - Successfully integrated CSL v14.1.2 (from v10.x)

  2. Fix Compatibility Issues: βœ… ACHIEVED - Complete rebuild addressed all hard fork incompatibilities

  3. Enhance Library Functionality: βœ… EXCEEDED - Added comprehensive wallet management, transaction processing, and dApp integration capabilities

  4. Production Integration: βœ… ACHIEVED - Successfully integrated into Tokeo app (v2.60)

Additional KPIs Achieved:

  • Unit Test Coverage: 15 comprehensive tests covering all core functionality

  • Memory Efficiency: Stress tested with 500,000 iterations showing minimal memory impact (864KB increase)

  • Platform Support: Updated to iOS 17.0+, macOS 15.0+ with Swift 6.0 compatibility

  • Documentation Quality: Complete technical design documentation and user guides

Key Achievements

Technical Achievements

  • Complete Library Rebuild: Transitioned from upgrade to full reconstruction due to fundamental Cardano changes

  • CSL Mobile Bridge Integration: Successfully exposed >90% of CSL primitives via automated workflow

  • Production-Ready SDK: Delivered a comprehensive toolkit including:

    • HD Wallet Support (BIP32/BIP39 compliant)

    • Transaction Processing (CBOR parsing, fee calculation, signing)

    • Advanced Address Management

    • Multi-asset Transaction Building

    • dApp Integration (CIP-30 compatibility)

Collaboration and Engagement

  • Community Feedback Integration: Published technical design for community review and incorporated feedback

  • Open Source Contribution: Made CardanoKit freely available on GitHub for the entire Cardano developer community

  • Documentation Excellence: Created comprehensive guides, technical specifications, and example applications

  • Marketing and Promotion: Active promotion via X (Twitter), blog posts, and community engagement

Milestone Completion

All 5 planned milestones were completed successfully:

  • Milestone 1: Architecture and CSL integration with example app

  • Milestone 2: Technical design specification and community feedback

  • Milestone 3: Core functionality implementation with comprehensive testing

  • Milestone 4: Beta release with application-ready features

  • Milestone 5: Production integration and final testing

Key Learnings

Technical Learnings

  1. Scope Evolution: The extent of Cardano's evolution since the original library required a complete rebuild rather than incremental updates

  2. CSL Integration Complexity: Bridging Rust-based CSL to Swift required sophisticated FFI (Foreign Function Interface) implementation

  3. Memory Management: Careful attention to Rust pointer deallocation in Swift environment was crucial for performance

Project Management Learnings

  1. Flexible Planning: Being adaptable when technical requirements exceeded original scope estimates

  2. Testing Importance: Comprehensive unit testing proved essential for ensuring reliability across all supported operations

  3. Community Engagement: Early publication of technical designs enabled valuable community input and validation

Ecosystem Insights

  1. Mobile Development Gap: Significant unmet demand for high-quality iOS development tools in the Cardano ecosystem

  2. Developer Experience Priority: Clean, well-documented APIs dramatically improve developer adoption

  3. Integration Challenges: Production applications require robust error handling and memory management

Next Steps for CardanoKit

Short-term (3-6 months)

  1. Community Adoption: Continue supporting developers integrating CardanoKit into their applications

  2. Feature Enhancements: Add additional CIP (Cardano Improvement Proposal) support based on community need

  3. Blockfrost Data Provider: Add a blockfrost provider for simple initialization with Blockfrost.

Final Thoughts/Comments

The CardanoKit project successfully transformed from a library upgrade into a comprehensive, production-ready SDK that addresses a critical gap in the Cardano developer ecosystem. The project exceeded its original scope by delivering not just compatibility fixes, but a complete, modern development toolkit.

The successful integration into Tokeo's production application (v2.60) demonstrates real-world viability, while the comprehensive test suite (15 tests, 100% pass rate) ensures reliability for other developers. The project's impact extends beyond Tokeo, providing the entire Cardano community with professional-grade iOS development tools.

The experience reinforced the importance of adaptability in blockchain development, where rapid protocol evolution requires flexible, forward-thinking solutions. CardanoKit now serves as a foundation for iOS development on Cardano, enabling the next generation of mobile applications and wallets.

Code Repositories

  • Main Repository: https://github.com/TokeoPay/CardanoKit

  • Example Application: https://github.com/TokeoPay/CardanoKit-Example

  • CSL Kit Dependency: https://github.com/TokeoPay/CSLKit

Documentation

  • Technical Design: https://github.com/TokeoPay/CardanoKit/blob/main/TechnicalDesign.md

  • Project Documentation: https://gitbook.tokeo.io/tokeo/technical-information/cardanokit/catalyst-fund-12

Marketing and Community

  • Tokeo Blog: https://tokeo.io/blog/cardanokit-by-tokeo-technical-design-and-feedback/

  • X (Twitter) Updates:

Close-out Video: https://x.com/Tokeo_io/status/1950600837891498079arrow-up-right

Video will demonstrate CardanoKit functionality, including wallet creation, transaction signing, and dApp integration features, along with project achievements and future roadmap.

Last updated

Was this helpful?