Internet Computer के लिए बनाया गया एक एजेंट लाइब्रेरी, डार्ट और फ्लूटर ऐप्स के लिए एक प्लगइन पैकेज। विकासकर्ता डिफिनिया के ब्लॉकचेन से सीधे बातचीत करने के लिए अपने लिए बना सकते हैं।
सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।
agent_dart एक Dart और Flutter प्लगइन है जो विकासकर्ताओं को Internet Computer ब्लॉकचेन के साथ सीधे बातचीत करने की अनुमति देता है, जो Dfinity के डिसेंट्रलाइज्ड पारिस्थितिकी तंत्र का हिस्सा है। Web3 एप्लिकेशन के लिए डिज़ाइन किया गया, यह एजेंट बनाने के लिए उपकरण प्रदान करता है—सॉफ्टवेयर एजेंट जो ब्लॉकचेन पर कैनिस्टर को प्रमाणित कॉल कर सकते हैं। इस पैकेज के माध्यम से Flutter ऐप्स में ब्लॉकचेन सेवाओं के साथ एकीकरण सरल हो जाता है, डिसेंट्रलाइज्ड एप्लिकेशन के साथ सुरक्षित, कुशल संचार का समर्थन करता है। यह विकासकर्ताओं के लिए आदर्श है जो सीधे ब्लॉकचेन एक्सेस के साथ क्रिप्टो-नेटिव मोबाइल अनुभव बनाना चाहते हैं।
उपयोग
इंटरनेट कंप्यूटर कॉन्ट्रैक्ट्स के साथ इंटरैक्ट करने वाले Flutter ऐप्स बनाना
डेसेंट्रलाइज्ड पहचान समाधान बनाना
वॉलेट और τोकन इंटरैक्शन सक्षम करें
प्रत्यक्ष ब्लॉकचेन संचार के साथ dApps का विकास
Dfinity के स्मार्ट अनुबंध इंफ्रास्ट्रक्चर के साथ एकीकरण
मुख्य विशेषताएँ
इंटरनेट कंप्यूटर कॉन्ट्रैक्ट्स के साथ सीधा इंटरैक्शन
एजेंट-आधारित प्रमाणीकरण का समर्थन
हल्का Dart/Flutter एकीकरण
ब्लॉकचेन नोड्स के साथ सुरक्षित संचार
आईसी-विशिष्ट डेटा प्रकारों के लिए बिल्ट-इन समर्थन
इनके लिए उपयुक्त
Flutter विकासकर्ता Web3 एप्लिकेशन बना रहे हैं
इंटरनेट कंप्यूटर के लिए डार्ट विकासकर्ता
डिसेंट्रलाइज्ड मोबाइल ऐप्स बनाने वाली टीमें
Dart का उपयोग करने वाले ब्लॉकचेन इंजीनियर
Dfinity के प्रणाली में क्रिप्टो-केंद्रित स्टार्टअप
विचार योग्य बातें
इंटरनेट कंप्यूटर और कैनिस्टर संरचना के साथ परिचय होना आवश्यक है
Dfinity के ब्लॉकचेन प्लेटफॉर्म पर सीमित
स्थानीय विकास के लिए अतिरिक्त सेटअप की आवश्यकता हो सकती है
IC नोड्स के साथ स्थिर नेटवर्क कनेक्टिविटी पर निर्भर करता है
गैर-आईसी ब्लॉकचेन परिवेश के लिए उपयुक्त नहीं
मूल README
संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।
Agent Dart
An agent library built for Internet Computer for Dart and Flutter apps.
candid_dart,
an automated candid builder for Dart classes
agent_dart_auth,
an extension plugin for authorization, used for Internet-Identity authorization.
💡 Examples
simple counter,
a simple counter demonstrate how to use agent_dart, a backend canister within.
auth counter,
a counter needs user's authorization from Internet-Identity,
demonstrate how to combine with agent_dart_auth.
ledger_app,
a ledger app demonstrate how to import seed-phrase and make transactions.
🧘♂️ Motivation
The Internet Computer is powered by blockchain and its major impact is to bring WebApp to be truly decentralized.
However, we are in the mobile internet era, even we can use Safari or Chrome on our cell phones.
But most average people, not crypto enthusiasts, are likely to use native mobile apps, major users are there.
It's important to attract these people to use DApps of Internet Computer,
by providing stable, fast, and fully integrated to Dfinity's blockchain.
We likely to provide further solution to balancing the "Decentralization" and "Efficiency".
But first things first, we have to make mobile native apps work.
agent-rs and agent-js are the actual lower level client-SDKs,
just like ether.js or web3.js of Ethereum's ecosystem.
This library is aiming to port and replicate features from them.
And this library is mainly for mobile apps to connect canisters,
not deploying contracts (you can do that if you want, but use dart directly).
We have tried our best to migrate most interface styles just like Javascript version,
but there are limitations and differences between different programming languages,
we will document them as much as possible.