This is a simple example of how to use the SOON Network to deploy a simple "Hello World" application.
https://bridge.devnet.soo.network/home
https://faucet.soo.network/
- Clone the repository
git clone https://github.com/soonlabs/hello-world
cd hello-world/example-hello-world
- Install the dependencies and build the project
cd src/program-rust
cargo build-sbf
- set-up the RPC URL for SOON Network
solana config set --url https://rpc.devnet.soo.network/rpc
- Deploy the program to the SOON Network
solana program deploy ./target/deploy/helloworld.so
- Once you have a deployed program, you can start interacting with it using the frontend, just cd to root directory and run the following commands:
cd front-end
pnpm i
pnpm dev
-
Open your browser and navigate to http://localhost:3000/
-
To run the backend, you can add your private-key and run the following commands:
cd back-end
pnpm i
pnpm start
Note: You need to change the programId in the frontend/src/components/hero.tsx file to the programId of the deployed program.
This project is based on the Solana Hello World example, and we would like to credit the Solana Labs team for providing the foundation for this implementation.