Skip to content

wearesoulana/soulana-smart-contract

Repository files navigation

🌟 Cyberia Smart Contract

A Solana smart contract that enables users to make donations and receive reward tokens in return. Built with Anchor framework.

🚀 Features

  • Make donations in SOL
  • Automatically receive reward tokens
  • 1:1000 reward ratio (1 SOL = 1000 tokens)
  • Built on Solana for fast and low-cost transactions

🛠 Tech Stack

  • Solana - Blockchain platform
  • Anchor - Framework for Solana smart contract development
  • Rust - Programming language
  • TypeScript - For tests and frontend integration

📦 Installation

  1. Clone the repository:
git clone https://github.com/yourusername/cyberia-smart-contract.git
cd cyberia-smart-contract
  1. Install dependencies:
yarn install
  1. Build the program:
anchor build

🧪 Testing

Run the test suite:

anchor test

🚀 Deployment

  1. Update your Anchor.toml with the desired network (devnet/mainnet)
  2. Deploy using Anchor:
anchor deploy

💻 Usage

Check out our Frontend Integration Guide for detailed instructions on how to integrate this smart contract into your dApp.

🔑 Program ID

The program is deployed on Solana devnet:

HCqoXrnpp2WZhvwAvoF4aALXPP8gthxNzL8h8DEMrUBv

📐 Architecture

The smart contract consists of two main components:

  1. Donation Logic: Handles the SOL donation process
  2. Reward System: Automatically mints and transfers reward tokens to donors

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

📞 Contact

For questions and feedback, please open an issue in the GitHub repository.

⭐️ Show Your Support

Give a ⭐️ if this project helped you!

Releases

No releases published

Packages

No packages published