Liquid Stake with compassSOL for an 7.31% APY from staking, MEV + fees

Enjoy the freedom of liquid staking in Solana Defi while delegating your stake to the high performance Solana Compass validator. Stake or unstake at any time here, or with a Jupiter swap.

Benefit from our high staking returns and over 2 years experience operating a Solana validator, and receive additional yield from priority fees + MEV tips

Earn 6.2% APY staking with Solana Compass

Help decentralize and secure the Solana network delegating your stake to us and earn an impressive 6.2% APY yield on your SOL, while supporting us to create new guides and tools. Learn more

Stake your SOL

  1. Click to connect your wallet
  2. Enter the amount you wish to stake
  3. Kick back and enjoy your returns
  4. Unstake from your wallet or our staking dashboard

Earn 6.2% APY staking with Solana Compass

Help decentralize and secure the Solana network delegating your stake to us and earn an impressive 6.2% APY yield on your SOL, while supporting us to create new guides and tools.

Learn more

Breakpoint 2024: Product Keynote: Kinobi, Generating Web3.js Clients and Beyond

By breakpoint-24

Published on 2024-09-20

Loris Leiva introduces Kinobi, a revolutionary developer tool for Solana that enhances program accessibility and client generation.

The notes below are AI generated and may not be 100% accurate. Watch the video to be sure!

Solana's ecosystem is about to receive a significant boost with the introduction of Kinobi, a groundbreaking developer tool designed to revolutionize how programs interact with their consumers. Unveiled at Breakpoint 2024, Kinobi promises to streamline development processes and enhance program accessibility across the Solana network.

Summary

Loris Leiva, a key figure in Solana's development ecosystem, introduced Kinobi during the Product Keynote at Breakpoint 2024. Kinobi is a developer tool aimed at bridging the gap between Solana programs and their consumers, including wallets, explorers, decentralized applications, users, and even other programs as dependencies.

The tool works by offering a standard that extracts as much information as possible from programs, which can then be deployed on-chain for secure retrieval by anyone. Unlike Anchor IDL, which is an opinionated framework with specific assumptions, Kinobi provides flexible building blocks that allow developers to create complex types without being constrained by predetermined serialization strategies.

Kinobi's capabilities extend beyond just information extraction. It enables programs to depend on the IDLs of other programs, opening up new possibilities for instruction bundling and improved explorer functionality. The tool also facilitates the generation of program clients in various languages and frameworks, including a new Web3.js client that's currently in release candidate stage.

Key Points:

Purpose and Functionality of Kinobi

Kinobi is designed to help Solana programs reach their consumers more effectively. It achieves this by offering a standard for extracting comprehensive information from programs, which can then be deployed on-chain. This allows anyone to retrieve the information securely, enhancing the overall accessibility and usability of Solana programs.

Unlike existing solutions like Anchor IDL, Kinobi doesn't impose specific serialization strategies. Instead, it provides flexible components that developers can use to create any complex type they need. This approach gives developers more freedom in defining their program structures while still maintaining a standardized format for information extraction.

Kinobi IDL Generation and Compatibility

Obtaining a Kinobi IDL for a program is straightforward, especially for existing Anchor programs. Anchor IDLs can be directly converted into Kinobi IDLs, making the transition seamless for developers already using Anchor. The same applies to programs using Shank Macros to generate Anchor IDLs from Solana programs.

For programs not using Anchor or Shank, the Kinobi team is developing a set of macros that can extract Kinobi IDLs directly from any program. This universal approach ensures that Kinobi can be adopted across the entire Solana ecosystem, regardless of the development framework used.

Client Generation and Language Support

One of Kinobi's most powerful features is its ability to generate program clients in various languages and frameworks. This includes a JavaScript client that's compatible with the new Web3.js (currently in release candidate stage), as well as clients for Unity and C++ for gaming applications.

The tool's client generation capabilities extend beyond just creating basic interfaces. Kinobi can potentially generate entire applications, including CLI tools, documentation websites, and even React components that can be easily integrated into existing apps. This versatility makes Kinobi an invaluable asset for developers looking to quickly build and deploy Solana-based applications.

Custom IDL Creation and Program Interoperability

Kinobi introduces a novel approach to handling multiple similar programs. Developers can create custom Kinobi IDLs by combining IDLs from different programs and selecting the relevant parts for their specific application. This feature allows for the generation of a unified client that can interact with multiple programs without requiring external dependencies.

This interoperability is particularly useful for developers working with multiple Solana programs that share similar structures or functionalities. It streamlines the development process and reduces the complexity of managing multiple program interfaces within a single application.

Facts + Figures

  • Kinobi is a new developer tool for Solana introduced at Breakpoint 2024
  • It offers a standard for extracting and deploying program information on-chain
  • Unlike Anchor IDL, Kinobi provides flexible building blocks for creating complex types
  • Kinobi enables programs to depend on IDLs of other programs
  • The tool can generate program clients in JavaScript, Unity, and C++
  • A new Web3.js client compatible with Kinobi is currently in release candidate stage
  • Kinobi can potentially generate CLI tools, documentation websites, and React components
  • Existing Anchor IDLs can be converted directly into Kinobi IDLs
  • Shank Macros users can also easily transition to Kinobi IDLs
  • Custom Kinobi IDLs can be created by combining IDLs from multiple programs

Top quotes

  1. "The main purpose of Kinobi is to help so that our programs reach their consumers."
  2. "Kinobi doesn't select serialization strategies. Instead, it provides small puzzle pieces that should get a sample to create any complex type you want."
  3. "Kinobi enables programs to depend on the IDLs of other programs which opens up new possibilities."
  4. "We're currently working on a set of Macros that can extract Kinobi IDLs from any program directly."
  5. "Soon you'll be able to generate not just our clients, but all apps, right? For example, CLI tools, documentation website, or React components that you can plug in with the app."

Questions Answered

What is Kinobi?

Kinobi is a new developer tool for the Solana ecosystem introduced at Breakpoint 2024. It's designed to help Solana programs reach their consumers more effectively by offering a standard for extracting and deploying program information on-chain. Kinobi provides flexible building blocks for creating complex types and enables programs to depend on the IDLs of other programs, opening up new possibilities for instruction bundling and improved explorer functionality.

How is Kinobi different from Anchor IDL?

While Anchor IDL is an opinionated framework with specific assumptions about how data should be structured, Kinobi takes a more flexible approach. It doesn't select serialization strategies but instead provides small, customizable components that developers can use to create any complex type they need. This flexibility allows for more diverse program structures while still maintaining a standardized format for information extraction.

What types of clients can Kinobi generate?

Kinobi can generate program clients in various languages and frameworks. This includes a JavaScript client compatible with the new Web3.js, as well as clients for Unity and C++ for gaming applications. Additionally, Kinobi has the potential to generate entire applications, including CLI tools, documentation websites, and React components that can be easily integrated into existing apps.

How can developers obtain a Kinobi IDL for their program?

For existing Anchor programs, Anchor IDLs can be directly converted into Kinobi IDLs. Programs using Shank Macros to generate Anchor IDLs can also easily transition to Kinobi IDLs. For programs not using these frameworks, the Kinobi team is developing a set of macros that can extract Kinobi IDLs directly from any program, ensuring universal compatibility across the Solana ecosystem.

What are the benefits of using Kinobi for Solana developers?

Kinobi offers several benefits for Solana developers. It provides a more flexible approach to defining program structures, enables better interoperability between programs, and simplifies the process of generating clients in multiple languages. Kinobi also has the potential to streamline the development of documentation and user interfaces, making it easier for developers to create comprehensive ecosystems around their Solana programs.


Related Content

Breakpoint 2024: Product Keynote: In the Blink of an Eye

Chris Osborn introduces Blinks, a revolutionary technology changing how we interact with the internet

Breakpoint 2024: Product Keynote: Mantis: Powering Best Execution (Omar Zaki)

Omar Zaki introduces Mantis, a Solana network extension L2 focused on processing user intents and providing cross-chain interoperability.

Breakpoint 2024: Product Keynote: Polaris Cross-Chain Router

Sunny Aggarwal introduces Polaris, a revolutionary cross-chain token portal designed to unify fragmented liquidity across blockchain ecosystems.

Breakpoint 2024: Product Keynote: Data Transfers at the Speed of Light

David Rhodus introduces Pipe Network, a revolutionary content delivery system for Solana

Breakpoint 2024: Product Keynote: Forgd: Tokenomics, Liquidity, and Beyond

Forgd introduces a comprehensive platform for blockchain builders to manage pre-TGE and post-TGE activities on Solana

Breakpoint 2024: Product Keynote: Filecoin (Juan Benet)

Juan Benet announces Filecoin's collaboration with Solana to store and provide access to all of Solana's data.

Breakpoint 2024: Product Keynote: Bonsol, ZK Plumbing on Solana (Austin Adams)

Austin Adams introduces Bonsol, an off-chain computer framework that extends Solana's capabilities beyond its current limitations.

Breakpoint 2024: Product Keynote: Bonk for Paws: Only Pawsible on Solana

Bonk for Paws introduces innovative blockchain-based charitable initiative for animal welfare on Solana

Breakpoint 2024: Product Keynote: Dabba: Bringing the Next Billion Online

Dabba's founder introduces the concept of Layer Zero DePIN and their mission to bring broadband internet to India

Breakpoint 2024: Product Keynote: Huma (Erbil Karaman)

Huma Finance introduces Pay-Fi, a revolutionary payment financing network on Solana, set to transform the financial landscape.

Breakpoint 2024: Product Keynote: Birdeye (Kha Nguyen)

Birdeye unveils major upgrades including a faster interface, personalized dashboard, and mobile app at Solana Breakpoint 2024.

Breakpoint 2024: Product Keynote: Roam the World, Connect the People

Yan Zhang introduces Rome, a global roaming network revolutionizing public Wi-Fi and mobile connectivity

Breakpoint 2024: Product Keynote: Travala (Juan Otero)

Travala announces integration with Solana and introduces Open Loyalty program for the Solana ecosystem

Breakpoint 2024: Product Keynote: DRiP: Building the Consumer Application

Vibhu Norby introduces DRiP's new mobile app and announces the public beta for iOS and Android

Breakpoint 2024: Product Keynote: Obligate: Margarita Finance

Margarita Finance introduces customizable structured products on Solana, combining traditional finance with DeFi innovation.