solprofile gives profile to the wallet on solana.
If ~/.config/solana/id.json does not exist, run.
$ solana-keygen new --no-bip39-passphraseIf not set, run.
$ solana config set --keypair ~/.config/solana/id.json
$ solana config set --url localhost$ just run-test-validator$ solana airdrop 2$ just buildThis will generate a keypair in target/deploy.
$ just keysSet the Program ID to declare_id! and programs.localnet.solprofile on Anchor.toml.
$ just buildTo include the new program id in the binary.
$ just deployhttps://solscan.io/account/{ProgramID}?cluster=custom&customUrl=http://localhost:8899
Keep the keypair generated in target/deploy after anchor build.
$ just clean