https://github.com/vectorized/solana-spl-token-claimer
why did God...
https://github.com/vectorized/solana-spl-token-claimer
Last synced: 7 months ago
JSON representation
why did God...
- Host: GitHub
- URL: https://github.com/vectorized/solana-spl-token-claimer
- Owner: Vectorized
- Created: 2024-11-20T03:09:08.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-13T00:39:49.000Z (about 1 year ago)
- Last Synced: 2025-06-26T22:56:55.089Z (7 months ago)
- Language: TypeScript
- Size: 66.4 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Solana SPL token claimer
Similar in Solidity:
https://gist.github.com/Vectorized/88987c8c42df60d512cdefd578f0e1c9
The Anchor program (smart contract) for this repo can be found here:
[`./programs/token_claimer/src/lib.rs`](programs/token_claimer/src/lib.rs)
## Requirements
- Rust
- Solana
- Anchor
- Yarn
## Overview
Uses a bitmap to mark an indexed claim as used.
Each claim has:
- claim index
- source token account (on Solana, each balance each SPL token for each owner occupied its own account)
- amount
For more info, ask me.
## Safety
This is **experimental software** and is provided on an "as is" and "as available" basis.
We **do not give any warranties** and **will not be liable for any loss** incurred through any use of this codebase.