0xmetaschool / Building-on-Aptos-boilerplate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Instructions

  • Clone the repository once by running : git clone https://github.com/0xmetaschool/Building-on-Aptos-boilerplate.git
  • cd into the projector folder by running cd Building-on-Aptos
  • Multiple branches are already present containing code for the required lessons.
  • fetch all the branches by running git fetch --all
  • To view all available branches run : git branch -a
  • Use the code branch of the specfic lesson by running : git checkout <branchName>

Lesson Specific instructions

  • Update the module address with your wallet address in the Move.toml file
  • cd into project folder and run aptos init
    • Select testnet as your network
    • Provide private key when prompted
  • Publilsh the contract by running aptos move publish
  • cd into the interface folder
  • Set the REACT_APP_MODULE_ADDRESS variable in .env file with your wallet address
  • Run npm install
  • Launch the app using npm start

About


Languages

Language:TypeScript 79.5%Language:HTML 11.5%Language:CSS 7.6%Language:Move 1.4%