π JackRamp Web
JackRamp
JackRamp is a decentralized USD off-ramp solution powered by AVS, 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-avs
π 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-avs/jackramp-web.git
cd jackramp-webInstall dependencies:
yarn install
# or
npm installCreate a
.envfile based on.env.example:
cp .env.example .envStart 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
{
operators {
id
address
lastActiveTimestamp
tasksResponded(orderBy: respondedAt, orderDirection: desc) {
receiver
requestOfframpId
respondedAt
status
taskCreatedBlock
taskIndex
transactionHash
transactionId
createdAt
channelId
}
}
}πͺ 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 links: https://github.com/jackramp-avs/jackramp-web
Last updated