This is a solana program from buildspace
solana config set --url devnet
// Make sure you're on devnet.
solana config get
anchor build
// Get the new program id.
solana address -k target/deploy/mysolanaproject-keypair.json
// Update Anchor.toml and lib.rs w/ new program id.
// Make sure Anchor.toml is on devnet.
// Build again.
anchor build
// Deploy the updated solana program
anchor deploy