Skip to content

hienbui-iwrp/solana

Repository files navigation

Setup project

  • Create .env file and fill in private keys (see in .ent.txt file)
  • Create .wallet/master.json and write your account keypair in base58. This account will be used for deploy program
  • Run:
yarn

Build program -

anchor build

Deploy program

anchor build

After deploy successfully, you can see program Id line. Copy this line and update files:

  • programs/marketplace/src/lib.rs: update declare_id!(<program Id>)
  • Anchor.toml: update marketplace = <program Id> in [programs.devnet] tag
  • tests/config.json: update "programId": <program Id>

Test program

anchor test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published