2023-7-27 10:17 |
The Agoric components library is now live.
This library includes a collection of community-built smart contract elements as well as in-depth guides and tutorials to help you get from zero to launch. These components vary from an on-chain vote counter to a full-featured NFT marketplace. If you have basic familiarity with writing smart contracts or developing decentralized apps, our components library has everything you need to start assembling code to build apps that reach across the interchain.
Ready to build? Follow this Quick Start Guide to set up your Agoric development environment!
Deploy faster with a library of composable componentsLike other popular JavaScript frameworks, the components library showcases the community’s ongoing work to build rich, reusable, open-source components and applications.
The library includes contributions such as:
Lending protocolLP Stop loss contractSmart contracts for interacting cross-chainNFT drop and auction mechanismsOn-chain governance committeeWith a wide range of options available, developers can choose the components that best align with their specific needs and seamlessly integrate them into their projects. This library not only accelerates development cycles but also encourages collaboration and knowledge sharing within the Agoric community.
Additionally, developers who build on Agoric with community components will experience the benefits of native platform features including ERTP, the token API to handle fungible, non-fungible, and semi-fungible tokens, as well as a built-in escrow service (Zoe), pervasive async support, and seamless marshaling for passing or storing data and capabilities between components.
What makes Agoric components unique?Electric Capital’s Developer Report shows roughly ~21,000 monthly active crypto developers, with Cosmos accounting for ~1,700 of those developers. And while these numbers are growing, they seem quaint compared to the 14 million monthly active JavaScript developers already working in web2. The Agoric community components library is an essential part of reaching those developers, providing them with needed interchain resources that bridge the gap from web2 and web3.
Agoric is a general-purpose smart contract platform layered on familiar JavaScript tooling, enabling developers to build and deploy smart contracts and decentralized applications that can interact with other Cosmos SDK chains. The components library is the latest resource to help developers learn the framework from their community peers.
The elements in the components library are built with Hardened JavaScript, a language model designed for more secure distributed computing. “Hardened” means that certain elements of the language are locked down, and the code does what it looks like. For example, no call to a library can accidentally change the way arrays work. Developers with previous JavaScript experience will find Hardened JS a familiar introduction to web3 programming.
A unique result of building with Agoric is a feature within the Zoe smart contract framework called Offer Safety, which introduces a secure escrow service. Notably, Offer Safety means that the user is guaranteed to either get what they wanted or get back a full refund of what they offered.
Another key advantage of the Agoric platform is its native integration with other Cosmos SDK chains through the Inter-blockchain communication protocol (IBC), making it seamless for smart contracts on Agoric to interact with other zones, even across multiple blocks. The components are composable, enabling developers to leverage existing elements to create complex, interoperable cross-chain systems. This exponential composability fosters innovation, speeds up time to market, and encourages collaboration among developers.
The doors to the interchain are openWith the diverse range of entry points provided by the components library, developers have templates at their disposal, saving valuable time and effort.
To get started, explore the library of community components that best align with your application’s needs. Components have documentation, tutorials, and other resources (with more on the way), so you’re set up to start building.
Join the growing community of developers building transformative apps for the interchain:
Visit the components pageStop by Wednesday Developer Office HoursMeet the community on DiscordGot an idea for a component or interested in contributing to one in development? Apply for one of the bounties today!
Agoric Components: Build Rich Interchain Apps in JavaScript was originally published in Interchain Ecosystem Blog on Medium, where people are continuing the conversation by highlighting and responding to this story.
Similar to Notcoin - Blum - Airdrops In 2024