An open API service indexing awesome lists of open source software.

https://github.com/0xsabonis/solana-token2022-wrapper

Token2022 to SPL token Wrapper
https://github.com/0xsabonis/solana-token2022-wrapper

solana spl token2022 wrapper wrapping

Last synced: 3 months ago
JSON representation

Token2022 to SPL token Wrapper

Awesome Lists containing this project

README

        

# Token2022 to SPL Wrapper

## Overview
This program allows wrapping of **Token2022** Solana tokens into **SPL tokens**. Each token created using **Token2022** can be wrapped into its unique SPL token, which can then be used across various applications on the **Solana blockchain**.

This is an **early release** and currently supports only the **transfer fee extension**.

## Features
- Wrap **Token2022** tokens into **SPL tokens**.
- Support for **transfer fee extension**.
- Enables cross-application usage of wrapped tokens.

## Installation
Ensure you have the following installed:
- [Rust](https://www.rust-lang.org/)
- [Solana CLI](https://docs.solana.com/cli/install-solana-cli)

### Clone the Repository
```sh
git clone https://github.com/your-repo/token2022-spl-wrapper.git
cd token2022-spl-wrapper
```

### Build the Program
```sh
cargo build --release
```

## Usage

### Deploy the Program
Ensure your Solana CLI is configured with the correct network:
```sh
solana config set --url https://api.mainnet-beta.solana.com
```

Deploy the program using:
```sh
solana program deploy target/release/token2022_spl_wrapper.so
```

### Wrapping a Token2022 Token
To wrap a **Token2022** token into an SPL token, call the program with the appropriate parameters:
```sh
solana program invoke \
--account \
--account \
--signer
```

## Contact

Telegram: [Dogewhiz](https://t.me/dogewhiz)