thecodingwhale / git-solana-buildspace

create gif upload using solana with the instructions from buildspace team!

Home Page:git-solana-buildspace.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

also run rust and solona under wsl https://buildspace.so/p/build-solana-web3-app https://buildspace.so/p/build-solana-web3-app/lessons/finishing-touches-web-app-and-program

uninstall rust rustup self uninstall

To install Rust just use this command - curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh

anchor idl upgrade -f target/idl/myepicproject.json solana address -k target/deploy/myepicproject-keypair.json anchor idl init -f target/idl/myepicproject.json solana address -k target/deploy/myepicproject-keypair.json

solana-keygen new -o target/deploy/myepicproject-keypair.json

I can not deploy the program to dev net with anchor https://stackoverflow.com/questions/68849313/i-can-not-deploy-the-program-to-dev-net-with-anchor

https://solanacookbook.com/references/programs.html#how-to-create-a-pda

search discord: donate_gif

Anchor.toml lib.rs App.jsx

re setup wallet with new token

  • "anchor clean" or delete the target folder
  • delete /home/aldrenterante/.config/solana/id.json and target/deploy/myepicproject-keypair.json
  • create new wallet:
    • solana-keygen new -> /home/aldrenterante/.config/solana/id.json
    • solana-keygen new -o target/deploy/myepicproject-keypair.json -> target/deploy/myepicproject-keypair.json
  • import wallet to phatom wallet
  • make sure to add balance
  • run "anchor build"
  • run "solana address -k target/deploy/myepicproject-keypair.json" and get the program id
  • run "solana config set --url devnet"
  • run "solana config get"
  • update Anchor.toml and lib.rs w/ new program id.
  • make sure Anchor.toml is on devnet.
  • run "anchor build" again

About

create gif upload using solana with the instructions from buildspace team!

git-solana-buildspace.vercel.app


Languages

Language:JavaScript 66.0%Language:Rust 17.7%Language:CSS 14.4%Language:HTML 1.9%