Skip to content

Latest commit

 

History

History
43 lines (39 loc) · 878 Bytes

wallet.md

File metadata and controls

43 lines (39 loc) · 878 Bytes

Wallet Providers

Mock

const mockProvider: BaseWalletProvider = new MockWalletProvider();

Lucid

const lucidProvider: BaseWalletProvider = new LucidProvider();
Lucid Blockfrost
lucidProvider.loadWallet(walletApi, {
    url: 'https://cardano-mainnet.blockfrost.io/api/v0',
    projectId: '<blockfrost-project-id>',
})

or

lucidProvider.loadWalletFromSeedPhrase(['...'], {}, {
    url: 'https://cardano-mainnet.blockfrost.io/api/v0',
    projectId: '<blockfrost-project-id>',
})
Lucid Kupmios
lucidProvider.loadWallet(walletApi, {}, {
    kupoUrl: 'http://localhost:1442',
    ogmiosUrl: 'ws://localhost:1337',
})

or

lucidProvider.loadWalletFromSeedPhrase(['...'], {}, {
    kupoUrl: 'http://localhost:1442',
    ogmiosUrl: 'ws://localhost:1337',
})