Skip to content

ShrinathNR/commute

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 

Repository files navigation

Commute

Twitter: https://twitter.com/commute_px
Simple, instant monetization for Solana programs with a Marketplace to attract users and promote community adoption. Focussing on both buyers and sellers is crucial to create a fair market. So this uses PDA - Program Derived Address and not SPL-token. This avoids trading program access which affects the sellers in the market. Buyers are protected by providing them a trial period with a minimal cost when they can test the functionality and usefullness for thier application.

Protocol architecture

Program Marketplace

User story

seller flow:

In IDE

  1. add the PDA access check provided by the commute market place in the acc intialization in your solana program
  2. upload ur program to the solana block chain

In Commute

  1. login in to commute with your wallet and create a seller program with program name, description, amount and program id
  2. and voila seller program is created in commute marketplace ready to be bought.

buyer flow:

In Commute

  1. login to commute with ur wallet
  2. visit the seller program list and look for the solana program which best suites ur needs
  3. click to see the complete info of the seller program, if needed can verify everything in block explorer with the seller program pda
  4. once satisfied, choose trial or permanent access.
  5. go ahead buy the access pda. which will intiate a sol transfer to the seller pubkey and also create the access pda

In IDE

  1. to access the methods provided buy the seller program, we need to pass the access pda while invoking the functions.
  2. which does the relavent checks and validates the buyer

User Story Flow chart

Program Marketplace User Story

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 71.5%
  • Rust 22.2%
  • CSS 6.1%
  • JavaScript 0.2%