open-index/open-npm huggingface dataset:
npm package: @solana/spl-type-length-value
Description: SPL Type Length Value Library
Author: Solana Labs Maintainers
Latest version: 0.2.0

# Type-Length-Value-js

Library with utilities for working with Type-Length-Value structures in js.

## Example usage

```ts
import { TlvState, SplDiscriminator } from '@solana/spl-type-length-value';

const tlv = new TlvState(tlvData, discriminatorSize, lengthSize);
const discriminator = await splDiscriminate("<discriminator-hash-input>", discriminatorSize);

const firstValue = tlv.firstBytes(discriminator);

const allValues = tlv.bytesRepeating(discriminator);

const firstThreeValues = tlv.bytesRepeating(discriminator, 3);
```
npm package: @solana/token-helpers
Description: A set of helpers and wrappers around multiple Solana token libraries that enable developers to create token accounts with one-liners, supporting different token standards including Token Program (TokenKeg), Token-2022, and Token-ACL.
Latest version: 0.1.1

# solana-token

A set of helpers and wrappers around multiple Solana token libraries that enable developers to create token accounts with one-liners, supporting different token standards including Token Program (TokenKeg), Token-2022, and Token-ACL.

## Features

- **Multi-standard support**: Automatically detects and handles Token Program, Token-2022, and Token-ACL mints
- **One-liner API**: Simple functions to create associated token accounts without manual instruction building
- **Automatic handling**: Handles Token-ACL specific requirements (e.g., thaw instructions) automatically

## Installation

```bash
npm install solana-token
# or
pnpm add solana-token
```

## Usage

### Create and Confirm Associated Token Account

```typescript
import { createAndConfirmAssociatedTokenAccount } from 'solana-token';

const { signature, associatedTokenAddress } = await createAndConfirmAssociatedTokenAccount(
  rpc,
  rpcSubscriptions,
  payer,
  owner,
  mintAddress
);
```

### Create Associated Token Account (without confirmation)

```typescript
import { createAssociatedTokenAccount } from 'solana-token';

const { signature, associatedTokenAddress } = await createAssociatedTokenAccount(
  rpc,
  payer,
  owner,
  mintAddress
);
```

### Get Instructions Only

```typescript
import { createAssociatedTokenAccountInstructions } from 'solana-token';

const { instructions, associatedTokenAddress } = await createAssociatedTokenAccountInstructions(
  rpc,
  payer,
  owner,
  mintAddress
);
```
npm package: @solana/wallet-adapter-ant-design
Description: # Quick Setup (using Create-React-App with craco-less) See the [example](https://github.com/anza-xyz/wallet-adapter/tree/master/packages/example) package for more usage.
Author: Solana Maintainers
Latest version: 0.11.33
Deprecated: This package is no longer supported

# `@solana/wallet-adapter-ant-design`

# Quick Setup (using Create-React-App with craco-less)
See the [example](https://github.com/anza-xyz/wallet-adapter/tree/master/packages/example) package for more usage.

## Install

1. Set up craco if you haven't already using the following [guide](https://github.com/gsoft-inc/craco/blob/master/packages/craco/README.md#installation).
2. Add `craco-less` into the project `npm install --save craco-less`.
   1. Add it to the `craco.config.js` file
        ```javascript
        const CracoLessPlugin = require('craco-less');
        module.exports = {
            plugins: [
                {
                    plugin: CracoLessPlugin,
                    options: {
                        lessLoaderOptions: {
                            lessOptions: {
                                modifyVars: { '@primary-color': '#512da8' },
                                javascriptEnabled: true,
                            },
                        },
                    },
                },
            ],
        };
        ```
3. Install these peer dependencies (or skip this if you have them already):

```
npm install --save \
    antd \
    @ant-design/icons \
    @solana/web3.js \
    react
```
4. Install these dependencies:

```
npm install --save \
    @solana/wallet-adapter-wallets \
    @solana/wallet-adapter-react \
    @solana/wallet-adapter-ant-design \
    @solana/wallet-adapter-base
```


## Usage
Check out usage in the [example](https://github.com/anza-xyz/wallet-adapter/tree/master/packages/starter/example) package.

## Overrides

You can override the following elements from the stylesheet:

```
.wallet-adapter-icon
.wallet-adapter-modal-menu
.wallet-adapter-modal-menu-item
.wallet-adapter-modal-menu-button
.wallet-adapter-modal-menu-button-icon
.wallet-adapter-multi-button-menu
.wallet-adapter-multi-button-menu-item
.wallet-adapter-multi-button-menu-button
.wallet-adapter-multi-button-icon
.wallet-adapter-multi-button-item
```
npm package: @solana/wallet-adapter-censo
Description: Wallet adapter for [Censo Custody](https://censocustody.com)
Author: Solana Maintainers
Latest version: 0.1.4
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# `@solana/wallet-adapter-censo`

Wallet adapter for [Censo Custody](https://censocustody.com)
npm package: @solana/wallet-adapter-coinbase
Description: This package provides an adapter to enable Solana apps to connect to the Coinbase Wallet browser extension.
Author: Solana Maintainers
Latest version: 0.1.23

# `@solana/wallet-adapter-coinbase`

This package provides an adapter to enable Solana apps to connect to the Coinbase Wallet browser extension.

For quick setup, please refer to the anza-xyz/wallet-adapter [README](https://github.com/anza-xyz/wallet-adapter#quick-setup-using-react-ui)

[Coinbase Wallet extension](https://chrome.google.com/webstore/detail/coinbase-wallet-extension/hnfanknocfeofbddgcijnmhnfnkdnaad?hl=en) is the safest and easiest way to use crypto apps in your browser.

-   [Coinbase Wallet](https://www.coinbase.com/wallet)
-   [Getting Started](https://www.coinbase.com/wallet/getting-started-extension)
npm package: @solana/wallet-adapter-create-react-app-starter
Description: This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
Author: Solana Maintainers
Latest version: 0.1.32
Deprecated: This package is no longer supported

# Getting Started with Create React App

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Available Scripts

In the project directory, you can run:

### `npm start`

Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.

The page will reload if you make edits.\
You will also see any lint errors in the console.

### `npm test`

Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `npm run build`

Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `npm run eject`

**Note: this is a one-way operation. Once you `eject`, you can’t go back!**

If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).
npm package: @solana/wallet-adapter-fake
Description: This is the default wallet adapter used in the starter packs. This wallet adapter plugin implements the interface, but does not actually sign or send messages.
Author: Solana Maintainers
Latest version: 0.1.5

# `@solana/wallet-adapter-fake`

This is the default wallet adapter used in the starter packs. This wallet adapter plugin implements the interface, but does not actually sign or send messages.

See https://github.com/solana-labs/wallet-adapter#usage for an example of how to configure your app for compatibility with a list of wallets of your choosing.
npm package: @solana/wallet-adapter-fractal
Description: This package provides an adapter to enable Solana apps to connect to a Fractal Wallet.
Author: Solana Maintainers
Latest version: 0.1.12

# `@solana/wallet-adapter-fractal`

This package provides an adapter to enable Solana apps to connect to a Fractal Wallet.

For quick setup, please refer to the anza-xyz/wallet-adapter [README](https://github.com/anza-xyz/wallet-adapter#quick-setup-using-react-ui)

Integrating with [Fractal's Developer APIs and SDKs](https://developers.fractal.is) is the easiest way to build web3 games.
npm package: @solana/wallet-adapter-glow
Description: [Glow](https://glow.app) is an easy-to-use, secure wallet for iOS.
Author: Solana Maintainers
Latest version: 0.1.18
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# `@solana/wallet-adapter-glow`

[Glow](https://glow.app) is an easy-to-use, secure wallet for iOS.

## Platforms

We support the following platforms:

- **Desktop** Browser extension that works across Chrome, Brave, Edge, and Firefox
- **iOS** Safari extension that you can use in your native Safari browser
- **Android** in-app browser (coming August 2022)

## Resources

- [Download Glow](https://glow.app/download)
- [Demo of Glow + Wallet Adapter](https://wallet-adapter-example.luma-dev.com)
- [User Guide for Enabling Safari Extension](https://glow.app/safari)

## Setting Network

On Glow, the app is responsible for choosing the network that processes the transaction. We simulate all transactions
before prompting the user to approve them and if the app doesn't choose the right network, the simulation will fail.

```ts
// This will default to Mainnet
const wallets = useMemo(() => [new GlowWalletAdapter()])

// This will use Devnet
const devnetWallets = useMemo(() => [new GlowWalletAdapter({ network: "devnet" })])
```
npm package: @solana/wallet-adapter-nextjs-starter
Description: <!-- @TODO -->
Author: Solana Maintainers
Latest version: 0.8.34
Deprecated: This package is no longer supported

# `@solana/wallet-adapter-nextjs-starter`

<!-- @TODO -->

This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).

## Getting Started

First, run the development server:

```bash
npm run dev
# or
yarn dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file.

[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`.

The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.

## Learn More

To learn more about Next.js, take a look at the following resources:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
npm package: @solana/wallet-adapter-strike
Description: Wallet adapter for the [Strike Protocols Wallet](https://strikeprotocols.com)
Author: Solana Maintainers
Latest version: 0.1.13
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# `@solana/wallet-adapter-strike`

Wallet adapter for the [Strike Protocols Wallet](https://strikeprotocols.com)
npm package: @solana/wallet-adapter-unsafe-burner
Description: This is the default wallet adapter used in the starter packs. This adapter implements the Wallet Adapter interface, but uses an unsafe local keypair to sign messages.
Author: Solana Maintainers
Latest version: 0.1.11

# `@solana/wallet-adapter-unsafe-burner`

This is the default wallet adapter used in the starter packs. This adapter implements the Wallet Adapter interface, but uses an unsafe local keypair to sign messages.

See https://github.com/anza-xyz/wallet-adapter#usage for an example of how to configure your app for compatibility with a list of wallets of your choosing.
npm package: @solana/wallet-adapter-walletconnect
Description: ``` import { WalletConnectWalletAdapter } from '@solana/wallet-adapter-walletconnect';
Author: Solana Maintainers
Latest version: 0.1.21

# `@solana/wallet-adapter-walletconnect`

```
import { WalletConnectWalletAdapter } from '@solana/wallet-adapter-walletconnect';

const App = () => {
  ...
  const wallets = useMemo(
      () => [
          new WalletConnectWalletAdapter({
              network,
              options: {
                  relayUrl: 'wss://relay.walletconnect.com',
                  // example WC app project ID
                  projectId: 'e899c82be21d4acca2c8aec45e893598',
                  metadata: {
                      name: 'Example App',
                      description: 'Example App',
                      url: 'https://github.com/anza-xyz/wallet-adapter',
                      icons: ['https://avatars.githubusercontent.com/u/35608259?s=200'],
                  },
              },
          }),
      ],
      []
  );
  ...
}
```