@marblexyz/common
v0.1.14
Published
Shared types and functions for Marble packages
Downloads
8
Readme
@marblexyz/common
This package contains common utilities and types used by the Marble Wallet SDK.
Marble Wallet is a self-custodial wallet that does not require extensions or seed phrases. Developers can use Marble Wallet to build seamless onboarding experiences for their users, similar to the ones provided by Coinbase or Reddit's self-custodial wallet.
Advantages of Marble Wallet:
- Email-based authentication. No seed phrases, extensions, or apps required. Marble runs in the browser.
- Embedded fiat on-ramp.
- Pre-built and highly customizable UI components.
- Out-of-the-box support for WalletConnect.
- ... and more!
Developers can offer wallet-onboarding, a fiat on-ramp, and pre-built UI components to their users, all in a single package. Marble Wallet can improve onboarding for users to your app by up to 90%.
Check out the Marble SDK documentation for more information, or the Marble SDK on NPM.
You can also check out the Marble Wallet website for more information.
How does Marble work?
Instead of a traditional seed phrase or private key, Marble uses a cryptographic protocol called MPC (Multi Party Computation). Marble cannot access your funds, and your funds cannot be stolen by Marble. You can learn more about Marble's security model on our security page.
Installation
You can install this package using the following command:
npm install --save @marblexyz/common
# or
yarn add @marblexyz/common
Local development
If you are developing this package locally to make changes to the marble-sdk
, yarn workspaces v2 should take care of linking the package for you.
If you are developing this package locally for a third-party application, you can use the following command to link the package:
# In the host project, you must run:
yarn link <PATH_TO_ROOT_OF_`@marblexyz/common`>