Skip to content

Instantly share code, notes, and snippets.

Sequelize Setup Guide

Official sequelize-cli README.md for commands : https://github.com/sequelize/cli

Installation

  1. Install the necessary packages:

    npm install mysql2 sequelize sequelize-cli @types/sequelize

RabbitMQ

Configuration

  1. To start the RabbitMQ server:

    sudo systemctl start rabbitmq-server
  2. To stop the RabbitMQ server:

Installing PostgreSQL

1. Using Locally

1.1 Use this command to download PostgreSQL:

sudo apt-get install postgresql

1.2 Now start the PostgreSQL service with:

To create SQLx migrations for PostgreSQL via the terminal, follow these steps:
1. First, install the SQLx CLI if you haven't already:
```bash
cargo install sqlx-cli
```
2. Set up your database URL as an environment variable:

1. Introduction

Privacy-Proxy is a zero-knowledge powered private-proxy for your wallet system that keeps your transactions anonymous

The system provides:

Privacy-Proxy: Solana Protocol Architecture Design

Document Overview

This document provides a comprehensive architecture design for Privacy-Proxy, a ZK-powered private wallet protocol on Solana. It follows the Solana Protocol Architecture Diagram Construction Guide, covering program structure, account mappings, external dependencies, and detailed interaction flows.


Table of Contents

```mermaid
sequenceDiagram
autonumber
participant W as User Wallet
participant D as dApp (Browser)
participant Tor as Tor Network
participant R as Relayer
participant T as Treasury Wallet
participant DW as Deposit Wallet
sequenceDiagram
    autonumber
    participant W as User Wallet
    participant D as dApp (Browser)
    participant Tor as Tor Network
    participant R as Relayer
    participant T as Treasury Wallet
    participant DW as Deposit Wallet