Skip to content

NishantCoder108/pinocchio_vault

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Pinocchio Vault

A secure vault program built using Pinocchio , allowing users to deposit and withdraw funds with proper access control using Program Derived Addresses (PDAs).

πŸš€ Features

  • Secure Deposits: Users can safely deposit funds into their personal vault
  • Controlled Withdrawals: Only the vault owner can withdraw funds
  • PDA-based Security: Utilizes Program Derived Addresses for enhanced security

Demo

Vault.Demo.mp4

πŸ“¦ Prerequisites

  • Rust (latest stable version)
  • Cargo (Rust's package manager)

πŸ› οΈ Installation

  1. Clone the repository:

    git clone <repository-url>
    cd pinocchio_vault
  2. Build the program:

    cargo build-spf

πŸ“ Learning Notes

Project Setup

  • Initialize project: cargo new pinocchio_vault --lib --edition 2021
  • Add dependencies: cargo add pinocchio pinocchio-system
  • For deployment artifacts, add to [Cargo.toml]:
    [lib]
    crate-type = ["lib", "cdylib"]

About

Vault program using pinocchio

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages