@near-wallet-selector/wallet-utils v8.9.7
@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
v1.0.0 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, signTransactions } from "@near-wallet-selector/wallet-utils";
const action = createAction({
type: "Transfer",
params: {
deposit: "10000000000000000000000",
},
});
const signedTransactions = await signTransactions(
[{ signerId, receiverId, actions }],
signer,
options.network
);
License
This repository is distributed under the terms of both the MIT license and the Apache License (Version 2.0).
1 month ago
1 month ago
3 months ago
3 months ago
4 months ago
4 months ago
5 months ago
6 months ago
9 months ago
7 months ago
9 months ago
5 months ago
6 months ago
7 months ago
6 months ago
8 months ago
9 months ago
7 months ago
8 months ago
9 months ago
10 months ago
11 months ago
11 months ago
11 months ago
1 year ago
11 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago