https://github.com/idatsy/sol-anon
Minimal anonymous on-chain messaging protocol for Solana
https://github.com/idatsy/sol-anon
Last synced: 8 months ago
JSON representation
Minimal anonymous on-chain messaging protocol for Solana
- Host: GitHub
- URL: https://github.com/idatsy/sol-anon
- Owner: idatsy
- Created: 2024-06-29T20:49:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-30T17:29:52.000Z (over 1 year ago)
- Last Synced: 2025-03-27T00:55:24.391Z (12 months ago)
- Language: Rust
- Homepage: https://idatsy.github.io/sol-anon/
- Size: 1.2 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sol-Anon: Secure On-Chain Messaging for Solana
[](https://idatsy.github.io/sol-anon/)
> The latest documentation for this project is available at [https://idatsy.github.io/sol-anon/](https://idatsy.github.io/sol-anon/)
Sol-Anon is an on-chain inbox program built on Solana. It leverages the spam commonly occuring on the network by providing a whitelist mechanism for trusted senders.
Non-whitelisted (spammers) subsidise the rent costs for whitelisted users by creating slots for them. Whitelisted users can then use these slots to store messages.
## Key Features
**Spam Prevention**
- Slot-based system to control message flow
- Whitelisting mechanism for trusted senders
**Efficient Resource Management**
- Dynamic slot allocation and deallocation
- Rent refund system for inbox owners
- PDA-based whitelist provides efficient access control
- Efficient use of storage to minimize rent costs
- Innovative rent refund mechanism to incentivize active inbox management
**Adaptive Slot Sizing**
- Slots dynamically resize based on message length, optimizing storage usage and subsidizing rent-costs for whitelisted users.
**Inbox Owner Interface**
- Tools for managing slots, whitelist, and inbox balance
## Future Enhancements
- ZK proof option as an alternative to whitelist.
- Versioned transaction with partial signatures to allow relayers to submit messages on behalf of users.
- Development of a user-friendly front-end interface
Developed with ❤️ for the Solana community.