π JackRamp Web
JackRamp
JackRamp is a decentralized USD off-ramp solution powered by ZkVM technology, enabling seamless conversion between crypto and USD. The platform features JackUSD and M0 tokens, with M0 serving as the mining token for JackUSD.
π§ Docs
Project Documentation : https://kbaji.gitbook.io/jackramp
π Features
Core Functionality
- Mint: Create new JackUSD tokens through the platform 
- Withdraw: Convert JackUSD back to other assets 
- Swap: Exchange between different supported tokens 
- Proof: List of transactions proof 
- Liquidity: Provide and manage liquidity pools 
Technical Integration
- Wallet connection using wagmi 
- Smart contract interaction (read/write) via wagmi hooks 
- Subgraph integration for transaction data querying 
- Real-time data updates through GraphQL 
π Tech Stack
- React + Vite 
- TypeScript 
- Wagmi for Web3 integration 
- GraphQL for data querying 
- TheGraph for indexing blockchain data 
π§ Prerequisites
- Node.js (v16 or higher) 
- Yarn or npm 
- MetaMask or other Web3 wallet 
π» Installation
- Clone the repository: 
git clone https://github.com/jackramp/jackramp-web.git
cd jackramp-web- Install dependencies: 
yarn install
# or
npm install- Create a - .envfile based on- .env.example:
cp .env.example .env- Start the development server: 
yarn dev
# or
npm run devπ Smart Contract Integration
Reading Contract Data
import { useReadContract } from 'wagmi'Writing to Contract
import { useWriteContract } from 'wagmi'π Subgraph Integration
Query Example
query OffRamps {
    offRamps(orderBy: blockTimestamp, orderDirection: desc) {
        id
        user
        requestedAmount
        requestedAmountRealWorld
        blockNumber
        blockTimestamp
        channelAccount
        channelId
        fillBlockNumber
        fillBlockTimestamp
        fillTransactionHash
        proof
        receiver
        reclaimProof
        status
        transactionHash
    }
}πͺ Tokenomics
JackUSD
- Decentralized USD-pegged stablecoin 
- Backed by crypto collateral 
- Maintains 1:1 USD peg 
M0 Token
- Mining token for JackUSD 
- Used for governance and rewards 
- Earned through platform participation 
π€ Contributing
- Fork the repository 
- Create your feature branch ( - git checkout -b feature/AmazingFeature)
- Commit your changes ( - git commit -m 'Add some AmazingFeature')
- Push to the branch ( - git push origin feature/AmazingFeature)
- Open a Pull Request 
π License
This project is licensed under the MIT License - see the LICENSE file for details.
GitHub link: https://github.com/jackramp/jackramp-web
Last updated
