Skip to content

Jarekkkkk/Escrow_Full_stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Main Idea:

  1. create additional empty "token account" of TOKEN_PROGRAM
  2. make Alice become owner of "temp token account"
  3. Alice transfer desired amoutn to "temp token account"
  4. create "writing account" ("PDA"), which stored all of the info of ESCROW_PROGRAM
  5. initialze token account and transfer Alice's ownership of "temp token account" to "PDA"

About

written in full-stack rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published