# @paperxyz/embedded-wallet-service-sdk

> Embedded Wallets SDK by Paper

Latest version **1.2.5** (published 2023-10-20) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @paperxyz/embedded-wallet-service-sdk
pnpm add @paperxyz/embedded-wallet-service-sdk
yarn add @paperxyz/embedded-wallet-service-sdk
bun add @paperxyz/embedded-wallet-service-sdk
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.5 |
| Published | 2023-10-20 |
| First published | 2022-12-09 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 5 |
| Unpacked size | 222.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Paper |
| Maintainers | joaquim-verges, jakeloo, gerry-saporito, elasticbottle, arcoraven, edwardsun |
| Keywords | embedded wallets, crypto, wallet, paper sdk, crypto wallet |

## Links

- npm: https://www.npmjs.com/package/@paperxyz/embedded-wallet-service-sdk
- Repository: https://github.com/paperxyz/js-sdk
- Issues: https://github.com/paperxyz/js-sdk/issues
- npm.io page: https://npm.io/package/@paperxyz/embedded-wallet-service-sdk

## Dependencies (5)

- [@ethersproject/bytes](https://npm.io/package/@ethersproject/bytes.md) ^5.7.0
- [@ethersproject/providers](https://npm.io/package/@ethersproject/providers.md) ^5.7.2
- [@ethersproject/properties](https://npm.io/package/@ethersproject/properties.md) ^5.7.0
- [@ethersproject/abstract-signer](https://npm.io/package/@ethersproject/abstract-signer.md) ^5.7.0
- [@paperxyz/sdk-common-utilities](https://npm.io/package/@paperxyz/sdk-common-utilities.md) *

## Alternatives

- [@gemini-wallet/core](https://npm.io/package/@gemini-wallet/core.md) — 515.6K weekly downloads
- [utility](https://npm.io/package/utility.md) — 416.6K weekly downloads
- [@primno/dpapi](https://npm.io/package/@primno/dpapi.md) — 7.2K weekly downloads
- [pi-readseek](https://npm.io/package/pi-readseek.md) — 3.7K weekly downloads
- [@emilia-protocol/verify](https://npm.io/package/@emilia-protocol/verify.md) — 1.1K weekly downloads

## Recent versions

- 1.2.5 (latest) — 2023-10-20
- 0.0.0-winston-speed-up-google-auth-login-20230915180232 (winston-speed-up-google-auth-login) — 2023-09-15
- 0.0.0-winston-remove-advancedOptions-20230706075255 (winston-remove-advancedOptions) — 2023-07-06
- 0.0.0-wy-playground-20230609220845 (wy-playground) — 2023-06-09
- 0.0.0-wy-eth-sign-typed-data-v4-20230325054828 (wy-eth-sign-typed-data-v4) — 2023-03-25
- 0.0.19-next-3 (next) — 2023-03-15
- 1.2.4 — 2023-09-26
- 1.2.3 — 2023-09-21
- 1.2.2 — 2023-09-20
- 1.2.1 — 2023-09-16
- 1.2.0 — 2023-09-08
- 1.1.3 — 2023-07-06
- 1.1.2 — 2023-07-05
- 1.1.1 — 2023-07-05
- 1.1.0 — 2023-06-11
- … 41 more at https://npm.io/package/@paperxyz/embedded-wallet-service-sdk/versions

## README

<p align="center">
    <br />
    <a href="https://withpaper.com"><img src="./assets/paper-logo.svg" width="100" alt=""/></a>
    <br />
</p>
<h1 align="center">Paper Embedded Wallet Service SDK</h1>
<p align="center">
    <a href="https://www.npmjs.com/package/@paperxyz/embedded-wallet-service-sdk"><img src="https://img.shields.io/npm/v/@paperxyz/embedded-wallet-service-sdk" alt="npm version"/></a>
    <a href="https://discord.gg/mnUa29J2Fp"><img alt="Join our Discord!" src="https://img.shields.io/discord/936354866358546453.svg?color=7289da&label=discord&logo=discord&style=flat"/></a>
</p>

[Paper](https://withpaper.com) is a developer platform for NFT commerce that
easily onboards users without a wallet or cryptocurrency.

## [Documentation](https://docs.withpaper.com/reference/embedded-wallet-service-overview)

## Installation

Install this SDK:

```shell
npm install @paperxyz/embedded-wallet-service-sdk
yarn add @paperxyz/embedded-wallet-service-sdk
pnpm add @paperxyz/embedded-wallet-service-sdk
```

Then get started right away:

```js
import { PaperEmbeddedWalletSdk } from "@paperxyz/embedded-wallet-service-sdk";

// initialize the SDK
const Paper = new PaperEmbeddedWalletSdk({
  clientId: "YOUR_CLIENT_ID",
  chain: "Mumbai",
});

// log the user in
const user = await Paper.auth.loginWithPaperModal();

// Execute a transaction without the user wallet needing gas money
const { transactionHash } = await user.wallet.gasless.callContract({
  methodInterface: "function mintFreeNft(uint256 quantity) external",
  methodArgs: [1],
  contractAddress: "0x...",
});
```

## Contributing

Please review our [guidelines](CONTRIBUTING.md) for more details.

---
_Source: https://npm.io/package/@paperxyz/embedded-wallet-service-sdk · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
