Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gab-182/escrow

Escorw program written in vanilla Rust, on Solana Blockchain
https://github.com/gab-182/escrow

blockchain rust-lang solana typescript vanilla-rust

Last synced: 22 days ago
JSON representation

Escorw program written in vanilla Rust, on Solana Blockchain

Awesome Lists containing this project

README

        

# Solana Escrow

Escrow program built for Solana blockchain

## TODO

Due to time constraints, only an `initializer.js` has been included in the `/tests` folder to demonstrate
what's possible, and to provide a stepping stone for interested developers.

Thus, the following are the THREE KEY FUNCTIONALITIES yet to be implemented:

- Tests that exercise the SPL token program
- Tests that exercise the escrow program
- A UI for the escrow program

## Application setup

1. Connect to devnet:

```bash
solana config set --url https://devnet.solana.com
```

2. Generate a keypair:

```bash
solana-keygen new
```

3. Airdrop some SOL from the devnet faucet

```bash
solana airdrop 1
```

4. At the end, deploy your program to the devnet on solana.

`npm run deploy` the program (smart contract) to the specified network in `solana.escrow.config.json`.