agent_dart
인터넷 컴퓨터를 위한 에이전트 라이브러리로, Dart 및 Flutter 앱용 플러그인 패키지입니다. 개발자는 Dfinity의 블록체인과 직접 상호작용할 수 있도록 자체 라이브러리를 구축할 수 있습니다.
Dart와 Rust로 작성된 인터넷 컴퓨터 라이브러리입니다.
아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
An agent library built for Internet Computer for Dart and Flutter apps.
Join the Discord channel: Discord
The latest stable version is: pub
dependencies:
agent_dart: ^latest-version
When you're using the plugin in your Flutter projects that contains iOS platform, make sure you've done the following setup the build settings.
ios/Runner.xcworkspace.Runner on left folder view, and Project -> Runner.Build Settings, All, Combined and type strip style in the filter input field.Strip Style and select Non-Global Symbols.Settings
Clone and follow Prerequisites, and make sure your Flutter installed properly.
MUST DO: Bootstrap your project
./scripts/bootstrap.sh
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.
By contributing to agent_dart, you agree that your contributions will be licensed under its MIT License.
{feat|fix|test|dep}-{detail}.sh ./scripts/bootstrap
cd example
flutter run
flutter test
Feel free to list your project here, you can submit here.
SwiftAgentDartPlugin.swift to avoid tree shaking by XCode.[macOS] SocketException: Connection failed (OS Error: Operation not permitted, errno = 1)
macos/Runner of macOS.DebugProfile.entitlements and ReleaseProfile.entitlements:<key>com.apple.security.network.client</key>
<true/>