Skip to content

ChiefWoods/smart-contract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Contract

Smart contract for Solana Curriculum in freeCodeCampWeb3.

Source Repository

Built With

Languages

  • Rust
  • JavaScript

Libraries

Rust

JavaScript

Runtime

  • Node.js

Tools

  • !Visual Studio Code

Getting Started

Prerequisites

  1. Update your Solana CLI, rustup and npm package to the latest version
solana-install update
rustup update stable
npm install npm@latest -g
  1. Set configuration to use localhost as cluster
solana config set --url localhost

Setup

  1. Clone the repository
git clone https://github.com/ChiefWoods/smart-contract.git
  1. Install all dependencies
cargo fetch
npm install
  1. In another terminal, start local cluster
solana-test-validator
  1. Create keypair
solana-keygen new -o wallet.json
  1. Set keypair for config
solana config set --keypair wallet.json
  1. Build program
npm run build
  1. Deploy program to localnet
npm run deploy

Issues

View the open issues for a full list of proposed features and known bugs.

Acknowledgements

Resources

Contact

chii.yuen@hotmail.com

About

Smart contract for Solana Curriculum

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors