Solana Mixer enhances privacy on the Solana blockchain by mixing fixed amounts of SOL to anonymize transactions. This README outlines the steps to install the Solana CLI, build, and deploy the Solana Mixer program.
- Install Rust and Cargo
- Install Solana CLI
-
Install Solana CLI (Only for MacOS and Linux)
sh -c "$(curl -sSfL https://release.solana.com/v1.18.4/install)"
-
Set Solana to use the Devnet
solana config set --url devnet
-
Clone the Repository
git clone https://github.com/albertoslavicadev/solana-mixer.git cd Solana-Mixer
-
Build the Program
cargo build-bpf --bpf-out-dir=dist/program
-
Generate a new keypair for your program (if you don't have one)
solana-keygen new --outfile dist/program-keypair.json
-
Deploy the Program
solana program deploy dist/program/your_program.so --keypair dist/program-keypair.json
After deployment, take note of the program ID output by the deployment command. You will need it to interact with your program.
- Fund Your Wallet
solana airdrop 2 $(solana-keygen pubkey dist/program-keypair.json)
For support, please open an issue on the GitHub repository.
Contributions are welcome! Please fork the repository and submit a pull request with your enhancements.
Solana Mixer is open source and available under the MIT License.