portal_flutter 0.1.0-alpha.10 copy "portal_flutter: ^0.1.0-alpha.10" to clipboard
portal_flutter: ^0.1.0-alpha.10 copied to clipboard

Flutter SDK for Portal - Stablecoin wallet infrastructure

0.1.0-alpha.10 #

Bug Fixes #

  • Android: HTTP 400 responses now surface errors as PortalException:
    • portal.delegations.approve
    • portal.delegations.revoke
    • portal.delegations.getStatus
    • portal.delegations.transferFrom
    • portal.getTransactionDetails
  • Android: Fixed release builds with proper proguard rules for response body fields.

Improvements #

  • Bumped portal-android to 8.4.0

0.1.0-alpha.9 #

Improvements #

  • Adding release automation

0.1.0-alpha.8 #

Firebase Auth Backup

  • portal.configureFirebaseStorage({required getToken}) - Configure Firebase as a backup storage method with a token callback
  • portal.backupWallet(method: PortalBackupMethod.firebase) - Backup wallet using Firebase auth
  • portal.recoverWallet(method: PortalBackupMethod.firebase) - Recover wallet using Firebase auth

0.1.0-alpha.7 #

New APIs #

Transaction Details

  • portal.getTransactionDetails(chain, txHash) - Get transaction details for a given chain and transaction hash

0.1.0-alpha.6 #

Bug Fixes #

  • Fixed Android Hypernative scan crash

0.1.0-alpha.5 #

New APIs #

Security Scanning

  • portal.security.blockaid.scanTransaction() - Scan a transaction for security risks using Blockaid
  • portal.security.blockaid.scanAddress() - Scan an address for security risks using Blockaid
  • portal.security.hypernative.scanTransaction() - Scan a transaction for security risks using Hypernative
  • portal.security.hypernative.scanAddress() - Scan an address for security risks using Hypernative

ERC-4337 Account Abstraction

  • eth_signUserOperation support via portal.request() - Sign UserOperations for Account Abstracted wallets

LiFi Cross-Chain Swaps

  • portal.trading.lifi.getQuote() - Get a quote for a cross-chain swap
  • portal.trading.lifi.getRoutes() - Get available routes for a swap
  • portal.trading.lifi.getRouteStep() - Get a specific step from a route
  • portal.trading.lifi.sendRouteTransaction() - Execute a route step transaction
  • portal.trading.lifi.sendSequentialSteps() - Execute all steps in a route sequentially
  • portal.trading.lifi.getStatus() - Check the status of a cross-chain transaction

EVM Account Type (EIP-7702)

  • portal.evmAccountType.getStatus() - Query the current EVM account type status
  • portal.evmAccountType.getAddresses() - Get EOA and smart contract addresses
  • portal.evmAccountType.upgradeTo7702() - Upgrade an EOA to EIP-7702 smart account

MPC Progress Stream

  • portal.onProgress - Stream of MPC operation progress events (create, backup, recover)

Balance API

  • portal.getBalances() - Get native and token balances for a chain

Log Level

  • portal.setLogLevel() - Set the SDK log level at runtime
  • logLevel parameter in portal.initialize() - Set log level during initialization

Bug Fixes #

  • Fixed iOS yield crash caused by Pigeon completion handlers running off main thread
  • Fixed Android delegation getStatus null pointer when no delegations exist

Improvements #

  • Dispatched MPC progress callbacks to main thread on iOS for thread safety
  • Used tokenAddress metadata key consistently in Android getBalances implementation
  • Added isClosed guard on progress stream controller to prevent crashes after dispose
  • Fixed dispose() ordering: unregister handler before closing stream controller
  • Added release automation CI/CD workflows for pub.dev publishing

0.1.0-alpha.4 #

New APIs #

Yield.xyz Integration

  • portal.yieldIntegrations.yieldxyz.discover() - Find yield opportunities
  • portal.yieldIntegrations.yieldxyz.enter() - Enter yield positions
  • portal.yieldIntegrations.yieldxyz.exit() - Exit yield positions
  • portal.yieldIntegrations.yieldxyz.manage() - Manage pending actions
  • portal.yieldIntegrations.yieldxyz.getBalances() - Query active balances
  • portal.yieldIntegrations.yieldxyz.getHistoricalActions() - View historical actions
  • portal.yieldIntegrations.yieldxyz.getTransaction() - Get transaction status
  • portal.yieldIntegrations.yieldxyz.track() - Track transaction on-chain

Delegation API

  • portal.delegations.approve() - Approve token delegation
  • portal.delegations.revoke() - Revoke token delegation
  • portal.delegations.getStatus() - Get delegation status
  • portal.delegations.transferFrom() - Transfer from delegated allowance

Bug Fixes #

  • Fixed Solana sol_signMessage on Android (platform-specific encoding)

0.1.0-alpha.3 #

  • Updated iOS podspec metadata

0.1.0-alpha.2 #

  • Updated README

0.1.0-alpha.1 #

  • Initial alpha release of Portal Flutter SDK
  • Stablecoin wallet infrastructure for Flutter apps
  • Support for iOS and Android platforms
0
likes
150
points
551
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Flutter SDK for Portal - Stablecoin wallet infrastructure

Homepage

License

MIT (license)

Dependencies

flutter, plugin_platform_interface, portal_flutter_android, portal_flutter_ios

More

Packages that depend on portal_flutter

Packages that implement portal_flutter