Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/docongminh/lock-fund
A program secure your fund.
https://github.com/docongminh/lock-fund
anchor-lang escrow solana solana-program
Last synced: about 5 hours ago
JSON representation
A program secure your fund.
- Host: GitHub
- URL: https://github.com/docongminh/lock-fund
- Owner: docongminh
- Created: 2024-12-19T07:13:16.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-12-27T04:36:31.000Z (about 2 months ago)
- Last Synced: 2024-12-27T05:21:56.038Z (about 2 months ago)
- Topics: anchor-lang, escrow, solana, solana-program
- Language: Rust
- Homepage:
- Size: 146 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lock Fund Program
A Escrow program with multi-signs and accompanying scripts (TypeScript & CLI) designed to provide safer ways to lock/hold fund on the Solana blockchain. Adds an extra layer of security for your tokens.## Purpose
- Enhanced Security: Lock funds with multiple signers instead of a single private key. And all your private saved under encrypted with password.
- Use Case:
- You hold a large amount of tokens and more safe with your fund.
- Lock your fund with cliff amount of time to become diamond hand### Build & Deploy the Program
Below are general steps to build and deploy the program to SolanaBuild program
```bash
anchor build
```Deploy program
```bash
anchor deploy
```### Cli
You can use cli to easily interact with the escrow program without writing code.Build Cli
```bash
cd cli && cargo build
```Cli package supported commands:
```bash
./target/debug/cli --help
```### TODO
- Encrypt private then save only encrypted private
- Lock fund with cliff time
- admin instructions
- unit test