Introducing UniversalKit: Building Blocks for Universal Apps
Check out this blog post in español, 简体中文, 繁體中文, 日本語, हिंदी, 한국어, tiếng-việt, português, français, русский, українська, persian, türkçe, indonesian, filipino, and italiano (non-English translations are created by the community, not ZetaChain).
At ZetaChain, our mission is to power Universal Apps that span all chains from native Bitcoin and Ethereum to Cosmos, Solana and beyond. A key part of this mission is making is really easy to ship Universal Apps. That’s why we released a new Localnet and Devnet yesterday, and it’s why today we’re introducing UniversalKit — a comprehensive set of components designed to streamline the creation of universal applications.
What is UniversalKit?
UniversalKit provides developers with the tools needed to efficiently integrate advanced cross-chain functionalities and user interfaces. The components are built with React and integrate smoothly with frameworks like Next.js. UniversalKit uses wagmi for wallet connectivity, including support for the ZetaChain Toolkit, and both EVM and Bitcoin extension wallets. Whether you’re developing a decentralized exchange, a social platform, or a financial application, UniversalKit speeds up your development process and helps you build more robust applications that natively connect with any blockchain out-of-the-box.
Overview of Components
UniversalKit comes packed with a variety of useful components designed to kickstart your application development. These initial components provide core functionalities for cross-chain interactions, wallet connectivity, token management, and more. Below is a detailed look at each of these components and what they offer.
Swap
The Swap component is an essential part of UniversalKit, designed to provide an easy-to-use solution for handling token swaps across connected blockchains.
Whether you’re looking to implement a ready-made swap solution or want to understand the inner workings to build your own, this component has you covered. Here are the key functionalities of the Swap component:
Native Cross-Chain Swaps: Effortlessly swap native tokens between connected chains such as Ethereum and BNB chain, allowing users to move assets with a single click experience.
Deposits: Users can send native gas tokens (such as ETH or BNB) and supported ERC-20 tokens from any connected chain directly into ZetaChain as ZRC-20 assets.
Withdrawals: Withdraw ZRC-20 tokens from ZetaChain back to a connected chain, giving users the option to quickly receive the asset on its origin chain.
ZETA Transfers: Send ZETA tokens between chains, making it easier for users to manage their assets across different blockchains.
Token Transfers: The UI also features the regular single chain transfers of native gas and ERC-20 tokens on connected chains.
Token Balances
Keeping track of token balances across multiple blockchains can be complex. The Token Balances component simplifies this by fetching and displaying the balances of native gas tokens, ERC-20 tokens, ZRC-20 tokens, and BTC from all connected chains and ZetaChain. This component ensures that users have a clear and comprehensive view of their assets, regardless of where they are held.
Bitcoin Wallet Connect
The Bitcoin Wallet Connect component is designed to simplify the process of connecting Bitcoin wallets to your Universal App. It supports wallets like XDEFI, OKX, and UniSat, with plans to add more in the future.
This component can be used together with the RainbowKit wallet connector used for EVM connectivity, expanding its functionality to include a variety of wallet options. Bitcoin wallet connector works out of the box with components that require users’ Bitcoin address like the swap and the token balances component. By integrating this component, developers can ensure their users have a seamless way to connect their Bitcoin wallets, making it easier to manage and transact with Bitcoin assets within the app.
Profile Badge
The Profile Badge component uses the Space ID SDK to turn hexadecimal addresses into human-readable domains. This makes it easy to display profile information in a user-friendly way, enhancing the identity management features of your application. By converting hex addresses into easily recognizable names, this component helps users interact with each other and manage their identities more easily within the app.
Staking Rewards
Token staking to secure the PoS network is a key feature of ZetaChain, helping to keep the network decentralized and secure. With the Staking Rewards component users can view the amount of tokens they currently have staked, check which tokens are in the process of being unstaked, and track the rewards they have earned and are waiting to claim.
They can also directly claim their staking rewards through the interface. This is just the first in a series of components related to staking, offering a comprehensive solution for both developers and users.
Lowering the barrier to entry for Universal Apps
UniversalKit’s components allow developers to create a variety of practical applications. Here are some examples:
Universal DEXs: Develop decentralized exchanges that work across multiple blockchains, enabling users to swap assets smoothly. The Swap component, along with wallet connectivity and token balance features, provides the essential tools for a reliable DEX.
Social and Consumer Apps with Identity: Build applications requiring identity verification and management using the Profile Badge component. This simplifies the creation of user-friendly interfaces where users can display and manage their identities.
Financial Apps Needing ZRC-20 Balances: Create financial applications that need to display and manage ZRC-20 token balances alongside other assets. The Token Balances component provides a clear and comprehensive view of all assets, helping users make informed financial decisions.
Components in Development
The initial release of UniversalKit is just the beginning. We are continuously working to expand the toolkit with new components that will further enhance its capabilities. Here’s a preview of what’s coming in the next version:
Validator List Component: This will provide detailed information about ZetaChain validators, helping users decide on which validators to delegate to.
Validator Details Component: Users will be able to delegate, redelegate, and withdraw their delegations to validators, offering a simple interface for managing validator interactions.
Governance Proposal List Component: Governance is a crucial decision making mechanism of ZetaChain, and this component will allow users to view and engage with governance proposals, providing an interface for voting and participating in the governance process.
About ZetaChain
ZetaChain is the first universal L1 blockchain. It serves as the base-layer of the decentralized internet, providing a platform for global access, simplicity, and utility across any blockchain. Zetachain’s Omnichain Smart Contracts on the Universal EVM are purpose-built for general chain abstraction across the entire crypto ecosystem. ZetaChain can connect to any blockchain, from Ethereum and Cosmos to Bitcoin and beyond, enabling unified liquidity, user experience, and data all from a single place. Universal Apps on ZetaChain are future-proof and have full compatibility with both existing and new chain integrations. With a proposed Universal Proof-of-Stake capability, ZetaChain supports staking of assets like native Bitcoin and Ethereum in exchange for rewards, powering unbounded scale for economic security.
Follow ZetaChain on Twitter @zetablockchain and join the conversation on Discord and Telegram. Reach out to [email protected] if you’re building on top of ZetaChain.
Any projects mentioned are 3rd party, not ZetaChain.
최신
July 2024: 22 big improvements to the universal blockchain!
At ZetaChain, our mission is to power Universal Apps that span all chains from native Bitcoin and Ethereum to Cosmos, Solana and beyond. In July, we took 22 additional steps towards realizing this goal!
8.4M active wallets on Polygon can now access Universal Apps on ZetaChain
At ZetaChain, our mission is to power Universal Apps that span all chains from native Bitcoin and Ethereum to Cosmos, Solana and beyond.