Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eimaam/s4-onchain-native-program
https://github.com/eimaam/s4-onchain-native-program
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/eimaam/s4-onchain-native-program
- Owner: eimaam
- Created: 2024-08-26T20:54:25.000Z (4 months ago)
- Default Branch: dev
- Last Pushed: 2024-08-26T21:12:42.000Z (4 months ago)
- Last Synced: 2024-12-01T03:52:05.216Z (about 1 month ago)
- Language: Rust
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Solana Native Program: Account Initialization, Deposit, and Withdrawal
This project is part of my assessment in the Solana Fellowship Program, it implements a native Solana program that allows you to initialize an account, deposit SOL into it, and withdraw 10% of the deposited SOL at a given time. The program uses Program Derived Addresses (PDAs) to securely manage accounts.
## Features
- **Account Initialization**: Create a new account using a Program Derived Address (PDA).
- **Deposit SOL**: Deposit SOL into the initialized account.
- **Withdraw SOL**: Withdraw 10% of the deposited SOL at a given time from the account.### Written in RUST