- create additional empty "token account" of TOKEN_PROGRAM
- make Alice become owner of "temp token account"
- Alice transfer desired amoutn to "temp token account"
- create "writing account" ("PDA"), which stored all of the info of ESCROW_PROGRAM
- initialze token account and transfer Alice's ownership of "temp token account" to "PDA"
-
Notifications
You must be signed in to change notification settings - Fork 0
Jarekkkkk/Escrow_Full_stack
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
written in full-stack rust
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published