Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aspnxdd/fragmentor
https://github.com/aspnxdd/fragmentor
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/aspnxdd/fragmentor
- Owner: aspnxdd
- License: mit
- Created: 2022-10-12T16:47:08.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-03T22:18:51.000Z (about 1 year ago)
- Last Synced: 2024-05-02T02:02:22.481Z (9 months ago)
- Language: TypeScript
- Homepage: fragmentor-app.vercel.app
- Size: 3.86 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- License: LICENSE.md
Awesome Lists containing this project
README
🧩 Fragmentor
Solana Program to fragment NFTs into small NFTs, then do the opposite process and claim back the original NFT
---
### 😎 Features
- Fragment or split an NFT into multiple NFTs, these NFTs can also be fragmented into multiples NFTs...
- Built with [Anchor](https://www.anchor-lang.com/) and some [Metaplex](https://www.metaplex.com/) tools such as Solita and Amman.A lot is still missing, but we will get there!
### 🎁 Demo
**Note**: You can try the frontend app build with NextJS by running `pnpm dev:app` from the root.
### ❇️ Deployment
Program is currently only deployed on devnet as `FRAGFu59MRwy5KeEMnbzsUPa2JkwLVsaP7WbhF2r2Yh`
### 🎴️ Deploy your own version
- `git clone` this repo
- Run `pnpm i`
- Make sure you have `solana-cli` installed, keypair configured, and at least 4 SOL on devnet beforehand
- Update path to your keypair in `Anchor.toml` that begins with `wallet =`
- Run `anchor build` to build the programs
- Update the program IDs:
- Run `solana-keygen new -o ./target/deploy/fragmentor-keypair.json` to generate your own program Keypair.
- Run `solana-keygen pubkey ./target/deploy/fragmentor-keypair.json` - insert the new pubkey in the following locations:
- `./Anchor.toml`
- `./programs/fragmentor/src/lib.rs`
- `./.solitarc.js`
- Run `pnpm run solita`
- Run `anchor build` to build one more time
- Run `anchor deploy --provider.cluster devnet` to deploy to devnetNote that deploying your own version will cost you ~4 SOL.
### 📜 To-do
- [ ] Write docs.
- [ ] Backend to split an image into multiple images, representing fragments, graphically, of the original NFT image.
- [ ] Improve tests.MIT License