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
- Host: GitHub
- URL: https://github.com/0xsabonis/solana-token2022-wrapper
- Owner: 0xSabonis
- Created: 2025-02-28T09:30:55.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2025-02-28T09:48:36.000Z (3 months ago)
- Last Synced: 2025-02-28T16:39:37.621Z (3 months ago)
- Topics: solana, spl, token2022, wrapper, wrapping
- Language: Rust
- Homepage:
- Size: 222 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)