Skip to content

brabanod/solana-escrow-anchor

Repository files navigation

Solana Escrow Anchor

Escrow program (presented in this tutorial by Paul Schaaf) using the Anchor framework by Project Serum.

NOTE: This project aims to exactly copy the mechanisms presented in the tutorial, without making any improvements to the general escrow mechanism (like this anchor escrow tutorial for example). The goal is to give an easy introduction to the Anchor framework for everyone, who read the tutorial.

Run

Run all tests

$ anchor test

Run tests isolated

$ anchor localnet

// new terminal
$ anchor run test-setup
$ anchor run test-alice
$ anchor run test-bob

Credits

The project is based on the escrow tutorial of Paul Schaaf. Large parts of the test scripts in this project are copied and adapted from the original implementation.