Wallet DApp Web3 Provider Wallet Connect - better-dart/pkg GitHub Wiki
Wallet + DApp + Web3 Provider:
web3 provider:
- https://github.com/AlphaWallet/alpha-wallet-android/blob/9ce5afd873/app/src/main/res/raw/init.js
- https://github.com/TrustWallet/trust-wallet-ios/blob/master/Trust/Browser/Factory/WKWebViewConfiguration.swift
- 两个不同项目, 这段代码几乎相同. 可以参考.
- webview 初始化 web3 provider.
wallet connect:
- https://www.npmjs.com/package/@walletconnect/client
- https://www.npmjs.com/package/@walletconnect/react-native
- https://github.com/alcuadradotech/walletconnect-cdn-example/blob/master/index.html
- usage
- https://github.com/trustwallet/wallet-connect-swift/blob/master/WalletConnect/WalletConnect.h
flutter:
webview:
- https://stackoverflow.com/questions/53689662/flutter-webview-two-way-communication-with-javascript/55114952#55114952
- https://stackoverflow.com/questions/13845528/calling-javascript-from-dart