Skip to content

A mock wallet implementation for testing out different products "as if" you were the user.

License

Notifications You must be signed in to change notification settings

SundaeSwap-finance/Sorbet

Repository files navigation

Sorbet

build

The Cardano Developer's Wallet

Roadmap

  • Impersonate an address, viewing the dApp (roughly) as that user would
  • Wrap a wallet, passing through functionality to an existing wallet
  • Save common addresses in an address book
  • Add the ability for sites to build Sorbet integrations via hooks:
    • cardano.sorbet.setAddress(addr: string)
    • cardano.sorbet.addToAddressBook(addr: string)
  • CIP-45 capability
  • Inspect traffic between a dApp and a wallet on the logging panel:
    • CIP-30 methods' input and output
  • Return arbitrary data or errors to dApp requests, to test corner cases:
    • UTxO builder for creating custom responses from .getUtxos(), .getBalance(), and .getCollateral()

Installing

To install the extension, first build the the extension

$ yarn
$ yarn build

Then, from chrome or brave, click manage extensions:

Manage Extensions

Finally, enable developer mode, and click "Load Unpacked", navigating to the dist folder generated by yarn build.

Load Extension

To use the extension, first configure a blockfrost API key.

Click "Details" on the extension you loaded

Details

and click "Extension Options"

Options

from here, you can enter any configuration that the extension needs to operate.

Use

Once configured, you can enter a wallet address to impersonate from the extension popup:

Impersonate

and it should appear as a CIP-30 wallet on the page:

Sorbet

About

A mock wallet implementation for testing out different products "as if" you were the user.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •