@near-wallet-selector/wallet-utils
@near-wallet-selector/wallet-utils
npm i @near-wallet-selector/wallet-utils
@near-wallet-selector/wallet-utils

@near-wallet-selector/wallet-utils

This is a wallet selector modal that allows users to interact with NEAR dApps with a selection of available wallets.

by near

7.9.2 (see all)TypeScript:Built-In
npm i @near-wallet-selector/wallet-utils
Readme

@near-wallet-selector/wallet-utils

This is the Wallet Utils package for NEAR Wallet Selector.

Installation and Usage

The easiest way to use this package is to install it from the NPM registry, this package requires near-api-js v0.44.2 or above:

# Using Yarn
yarn add near-api-js

# Using NPM.
npm install near-api-js
# Using Yarn
yarn add @near-wallet-selector/wallet-utils

# Using NPM.
npm install @near-wallet-selector/wallet-utils

Then use it in your custom wallet integration:

import { createAction } from "@near-wallet-selector/wallet-utils";

const action = createAction({
  type: "Transfer",
  params: {
    deposit: "10000000000000000000000",
  },
});

License

This repository is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

VersionTagPublished
7.9.2
latest
6d ago
4.0.0
next
10mos ago
No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

100
No reviews found
Be the first to rate