portal_flutter 0.1.0-alpha.10
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.approveportal.delegations.revokeportal.delegations.getStatusportal.delegations.transferFromportal.getTransactionDetails
- Android: Fixed release builds with proper proguard rules for response body fields.
Improvements #
- Bumped
portal-androidto8.4.0
0.1.0-alpha.8 #
Firebase Auth Backup
portal.configureFirebaseStorage({required getToken})- Configure Firebase as a backup storage method with a token callbackportal.backupWallet(method: PortalBackupMethod.firebase)- Backup wallet using Firebase authportal.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.5 #
New APIs #
Security Scanning
portal.security.blockaid.scanTransaction()- Scan a transaction for security risks using Blockaidportal.security.blockaid.scanAddress()- Scan an address for security risks using Blockaidportal.security.hypernative.scanTransaction()- Scan a transaction for security risks using Hypernativeportal.security.hypernative.scanAddress()- Scan an address for security risks using Hypernative
ERC-4337 Account Abstraction
eth_signUserOperationsupport viaportal.request()- Sign UserOperations for Account Abstracted wallets
LiFi Cross-Chain Swaps
portal.trading.lifi.getQuote()- Get a quote for a cross-chain swapportal.trading.lifi.getRoutes()- Get available routes for a swapportal.trading.lifi.getRouteStep()- Get a specific step from a routeportal.trading.lifi.sendRouteTransaction()- Execute a route step transactionportal.trading.lifi.sendSequentialSteps()- Execute all steps in a route sequentiallyportal.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 statusportal.evmAccountType.getAddresses()- Get EOA and smart contract addressesportal.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 runtimelogLevelparameter inportal.initialize()- Set log level during initialization
Bug Fixes #
- Fixed iOS yield crash caused by Pigeon completion handlers running off main thread
- Fixed Android delegation
getStatusnull pointer when no delegations exist
Improvements #
- Dispatched MPC progress callbacks to main thread on iOS for thread safety
- Used
tokenAddressmetadata key consistently in AndroidgetBalancesimplementation - Added
isClosedguard 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 opportunitiesportal.yieldIntegrations.yieldxyz.enter()- Enter yield positionsportal.yieldIntegrations.yieldxyz.exit()- Exit yield positionsportal.yieldIntegrations.yieldxyz.manage()- Manage pending actionsportal.yieldIntegrations.yieldxyz.getBalances()- Query active balancesportal.yieldIntegrations.yieldxyz.getHistoricalActions()- View historical actionsportal.yieldIntegrations.yieldxyz.getTransaction()- Get transaction statusportal.yieldIntegrations.yieldxyz.track()- Track transaction on-chain
Delegation API
portal.delegations.approve()- Approve token delegationportal.delegations.revoke()- Revoke token delegationportal.delegations.getStatus()- Get delegation statusportal.delegations.transferFrom()- Transfer from delegated allowance
Bug Fixes #
- Fixed Solana
sol_signMessageon 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