bmoni_embedded_sdk 0.0.1 copy "bmoni_embedded_sdk: ^0.0.1" to clipboard
bmoni_embedded_sdk: ^0.0.1 copied to clipboard

Bmoni Embedded SDK for Flutter — Ethereum wallet provisioning and signing backed by Android Keystore / iOS Secure Enclave.

0.0.1 #

  • Initial release of the Bmoni Embedded SDK for Flutter.
  • BmoniEmbeddedSdk.initialize(pinLength: …, requirePin: …) lets the consumer pick the PIN length (default 6) and whether sign / delete operations verify a PIN before invoking the native plugin (default true). The active configuration is exposed via BmoniEmbeddedSdk.config.
  • BmoniEmbeddedSdk static facade exposing the BMONISigner wallet APIs:
    • initWallet() returns the EIP-55 checksummed Ethereum address.
    • signTransactionHash(hashHex, pin: …) signs a pre-computed 32-byte digest. PIN-gated when requirePin: true.
    • signMessage(message, pin: …) applies the EIP-191 personal_sign prefix. PIN-gated when requirePin: true.
    • deleteWallet(pin: …) removes the encrypted private key (idempotent at the native layer). PIN-gated when requirePin: true.
    • walletAddress() / hasWallet() read back the EIP-55 address cached by the SDK in flutter_secure_storage so consumers can recover it across launches (the native BMONISigner SDK only returns the address at provisioning time). The cache is populated on initWallet() success and wiped on deleteWallet() success.
  • PIN management via setPin, changePin, removePin, matchPin, hasPin — independent of requirePin. PINs are exactly BmoniEmbeddedSdk.pinLength characters (configured at initialize); setPin / changePin raise BmoniSignerErrorCode.pinInvalid for inputs of any other length. The PIN is persisted as a salted PBKDF2-HMAC-SHA256 digest inside flutter_secure_storage (Android Keystore / iOS Keychain); the raw PIN never touches disk.
  • Typed BmoniSignerException and BmoniSignerErrorCode for ergonomic native-error handling. Codes in the 0x3xxxxxxx range originate in the native BMONISigner SDK; 0x4xxxxxxx codes are SDK-level (PIN gating).
  • Android plugin wraps me.bkey.ip.bmonisigner.BMONISigner 1.0.0 and dispatches signing work on a background executor.
  • iOS plugin wraps the BMONISigner Swift API (initWallet, signTransactionHash, signMessage, deleteWallet) and dispatches signing work on a userInitiated queue.
  • Podspec vendors BMONISigner.xcframework 1.0.0 for CocoaPods consumers (matching the SwiftPM binary target).
  • Example app with a full wallet / signing demo.
2
likes
160
points
74
downloads

Documentation

API reference

Publisher

verified publisherbkey.me

Weekly Downloads

Bmoni Embedded SDK for Flutter — Ethereum wallet provisioning and signing backed by Android Keystore / iOS Secure Enclave.

Repository (GitHub)
View/report issues

Topics

#ethereum #wallet #signer #web3 #secure-storage

License

Apache-2.0 (license)

Dependencies

crypto, flutter, flutter_secure_storage, plugin_platform_interface

More

Packages that depend on bmoni_embedded_sdk

Packages that implement bmoni_embedded_sdk