Deploy a Smart Contract on SOON(Hello World)
Please ensure that all necessary development environments and dependencies are properly installed and configured.
To help developers get started with the SOON Network, we’ve provided a simple "Hello World" example that demonstrates how to deploy a basic Solana program. The project is hosted on GitHub, and you can clone it and follow the steps to deploy it on the SOON Testnet.
The example repository can be found here:
Hello World on SOON GitHub Repository
Follow the steps below to clone the repository, build the project, and deploy it to the SOON Network.
1. Clone the Repository
First, clone the hello-world
example repository to your local machine:
Change into the project directory:
2. Build the Project
Navigate to the Rust program directory and build the project:
3. Set Up the RPC URL for SOON Testnet
Before deploying the program, configure the Solana CLI to use the SOON Testnet RPC endpoint. This ensures that your program is deployed and interacts with the correct blockchain network.
Make sure you have enough SOL to deploy the contract.
If you don't have the SOL and Sepolia ETH, go to our faucet to get them. https://faucet.soo.network/
If you have got the Sepolia ETH, go to SOON Testnet bridge to bridge in.
https://bridge.testnet.soo.network/
If you have configured that and had SOL already, you can skip this step.
4. Deploy the Program
After setting up the RPC and building the project, you can now deploy the program to the SOON Network. The deployment command will take the compiled Solana program and upload it to the blockchain.
Run the following command to deploy the "Hello World" program:
This command deploys the compiled program binary (hello_world.so
) to the SOON Testnet. Once deployed, you can interact with the program on the SOON Testnet.
Last updated