Skip to content

Solana smart contract project that facilitates on-chain token exchanges

Notifications You must be signed in to change notification settings

alexkonovalov/ExchangeBooth

Repository files navigation

Solana Bootcamp Exchange Booth Project

Table of Contents

About

Smart contract project that faciliates on-chain token exchanges. This is an implementation of Day 3 Solana bootcamp project exercise.

Client can perform several instructions on Exchange Booth program:

  • Initialize npm run -- --ix=0
  • Deposit npm run -- --ix=1
  • Close npm run -- --ix=2
  • Exchange npm run -- --ix=3
  • Withdraw npm run -- --ix=4

Since this progam is made primarily for demo purposes values for each instruction are hardcoded on a client.

Full specification: Exchange_Booth_Program_Spec.pdf

Disclaimer

This is not production-ready smart contract. The goal of this project is to study and demonstrate the basic knowledge of Solana smart-contracts.

Getting Started

  1. Make sure in local solana configuration json_rpc_url value is local test validator address or solana devnet address.
  2. Run npm run booth:cycle to build and deploy bpf, prepare environment and run the sequense of all commands

Prerequisites

About

Solana smart contract project that facilitates on-chain token exchanges

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published