Skip to content

anudeepx/escrow-anchor

Repository files navigation

Escrow

A Solana smart contract built using Anchor that enables trustless token escrow between two parties a maker and a taker.

install dependencies

yarn install

build the program

anchor build

deploy the program

anchor deploy

run tests

anchor test

expected test output!

  escrow-anchor
✅ Escrow initialized: 25jsQmHNt1BgWXFs4vkWhaaaF8bkQTgCfsdRAYMqHvoc
    ✔ Initializes escrow (412ms)
✅ Escrow completed successfully
    ✔ Taker takes the trade (822ms)


  2 passing (4s)

Done in 27.50s.

About

A vault allows users to securely store their assets.

Resources

Stars

Watchers

Forks

Contributors