@cardano-foundation/cardano-connect-with-wallet-core
Version:
Framework-independent CIP-0030 wrapper functions that allow a smooth build of wallet interaction components
24 lines (21 loc) • 429 B
text/typescript
export enum NetworkType {
MAINNET = 'mainnet',
TESTNET = 'testnet',
}
export type Cip30Function =
| 'getNetworkId'
| 'getUtxos'
| 'getCollateral'
| 'getBalance'
| 'getUsedAddresses'
| 'getUnusedAddresses'
| 'getChangeAddress'
| 'getRewardAddresses'
| 'signTx'
| 'signData'
| 'submitTx';
export enum UnavailableWalletVisibility {
SHOW_UNAVAILABLE,
HIDE_UNAVAILABLE,
SHOW_UNAVAILABLE_ON_MOBILE,
}