New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@paperxyz/dummy-repo

Package Overview
Dependencies
Maintainers
6
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paperxyz/dummy-repo

Paper.xyz sdk for embedded wallets

  • 0.0.23
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
6
Weekly downloads
 
Created
Source



Paper Embedded wallet Service SDK

npm version Join our Discord!

Paper is a developer-first NFT checkout solution that easily onboard users without wallets or cryptocurrencies.

Documentation

Installation

Install this SDK:

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:

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 for more details.

FAQs

Package last updated on 23 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc