niku
用於使用類似 SwiftUI 的模式來設定 Widget 樣式屬性建構器
一個由Flutter製作的代幣拍賣網站,透過flutter_web3套件與以太坊web3進行互動。
用於使用類似 SwiftUI 的模式來設定 Widget 樣式屬性建構器
一個與 Celo 相容的 Dart 庫,用於連接以太坊客戶端。發送交易並與智慧合約互動!在 Celo 上使用 `feeCurrencies` 支付交易手續費。
decimal 套件可讓您處理十進位數字,而不會遺失精確度。
v1.0.0一些酷炫進度指示器和文字動畫器的精選集合。
用於讓使用 'Duration' 更輕鬆的實用工具。將持續時間格式化為易讀的形式,並可將易讀的形式解析為 Dart 的 Duration。
Flutter 剪貼簿支援文字、豐富文字(HTML)和影像。
適用於 Flutter Web 的 Web3 Ethereum、Etherjs 和 Wallet Connect 包裝。專為開發 DApp 而設計。
{"sdk":"flutter"}^1.0.3———————^4.3.8——————^9.0.0^2.1.3—{"sdk":"flutter"}以下為英文專案原文快照,最新內容請造訪 GitHub。
A token auction website made by Flutter thats interacts with Ethereum web3 through flutter_web3 package.
This flutter web package is demonstration/example for flutter_web3 package usage ONLY.
Live preview at https://auction.yoisha.dev/
Currently operating chain are (is)
auction web
auction mobile
I've built this a while ago and decided to take this to open-source, so don't hope for anything magnificient and/or bug-free. Any contributions are welcomed and appreciated.
For best case scenario, you should use Multicall/Logs querying/Event subscription whenever available to reduce the number of https call made to the node.
This example website usage is to auction/sell off ERC20 token using others ERC20 token or native token as a payment (selectable). The seller can put certain amount of token for sale and decide the price from start, then the total time that the token will be put on sale. The seller also can put a limit per account on.
For buyer can navigate to the desired pool page by accessing from the front page or by dedicated link. And then the buyer can buy the token by putting how much they want to spend, that less than the limit set by the buyer.
So, this website cover
First, in the package directory.
flutter pub get
To run the web-server, use
flutter run -d web-server
And navigates to the URL shown after the command was used.
Edit /config/chain.dart to configure available chain and contract information.
All contract interaction is located in /controllers/*/contract_controller.dart
.
├── config
│ └── chain.dart
├── constants.dart
├── controllers
│ ├── fixed_swap
│ │ ├── contract_controller.dart
│ │ ├── create_controller.dart
│ │ ├── home_controller.dart
│ │ └── pool_controller.dart
│ └── web3controller.dart
├── extensions.dart
├── generated_plugin_registrant.dart
├── main.dart
├── models
│ ├── chain.dart
│ ├── controller_bundle.dart
│ ├── currency.dart
│ ├── pool.dart
│ ├── pool_create_request.dart
│ ├── pool_swap_request.dart
│ └── token.dart
├── pages
│ ├── fixed_swap
│ │ ├── create.dart
│ │ ├── home.dart
│ │ ├── pool.dart
│ │ ├── widgets
│ │ │ ├── claim_pool.dart
│ │ │ ├── create_listing.dart
│ │ │ ├── create_pool_dialog.dart
│ │ │ ├── fixed_pool_mini.dart
│ │ │ ├── join_pool.dart
│ │ │ ├── paginate.dart
│ │ │ ├── pool_dialog_action.dart
│ │ │ ├── pool_header.dart
│ │ │ ├── pool_information.dart
│ │ │ ├── pool_settings.dart
│ │ │ ├── swap_dialog.dart
│ │ │ └── token_contract_form.dart
│ │ └── your_pool.dart
│ └── redirect.dart
├── routes.dart
├── utils.dart
└── widgets
├── account_large.dart
├── layout.dart
├── logo_large.dart
├── navigation_bar.dart
└── paginate_controller.dart