Getting Started / Bắt đầu

English | Tiếng Việt

English

Welcome to OlymPay

OlymPay is a comprehensive StableCoin payment infrastructure that enables seamless digital payments across multiple blockchain networks. This guide will help you get started with integrating OlymPay into your applications.

Prerequisites

Before you begin, make sure you have:

  • Basic understanding of blockchain technology

  • Familiarity with Web3 development

  • A supported wallet (MetaMask, WalletConnect, etc.)

  • Node.js 16+ installed (for development)

Quick Setup

1. Install Dependencies

npm install @olympay/sdk
# or
yarn add @olympay/sdk

2. Initialize the SDK

import { OlymPaySDK } from '@olympay/sdk';

const olymPay = new OlymPaySDK({
  network: 'mainnet', // or 'testnet'
  apiKey: 'your-api-key'
});

3. Connect Wallet

// Connect user's wallet
const wallet = await olymPay.connectWallet();

// Get wallet address
const address = wallet.getAddress();

4. Make Your First Payment

// Create a payment
const payment = await olymPay.createPayment({
  amount: '100.00',
  currency: 'USD',
  recipient: '0x...',
  description: 'Payment for services'
});

// Execute the payment
const result = await payment.execute();

Supported Networks

OlymPay currently supports:

  • Aptos (Mainnet & Devnet)

  • Avalanche (Mainnet & Testnet)

  • BNB Chain (Mainnet & Testnet)

  • Ethereum (Mainnet & Testnet)

  • Solana (Mainnet & Devnet)

  • Celestia (Mainnet & Testnet)

  • Base (Mainnet & Testnet)

  • Olym3 (Testnet)

  • SUI (Mainnet & Testnet)

Next Steps

  • StableCoin Integration

  • On/Off Ramp Setup

  • CCIP Cross-Chain

  • API Reference


Tiếng Việt

Chào mừng đến với OlymPay

OlymPay là một hạ tầng thanh toán StableCoin toàn diện, cho phép thanh toán số liền mạch trên nhiều mạng blockchain. Hướng dẫn này sẽ giúp bạn bắt đầu tích hợp OlymPay vào ứng dụng của mình.

Yêu cầu trước

Trước khi bắt đầu, hãy đảm bảo bạn có:

  • Hiểu biết cơ bản về công nghệ blockchain

  • Quen thuộc với phát triển Web3

  • Ví được hỗ trợ (MetaMask, WalletConnect, v.v.)

  • Node.js 16+ đã cài đặt (cho phát triển)

Thiết lập nhanh

1. Cài đặt Dependencies

npm install @olympay/sdk
# hoặc
yarn add @olympay/sdk

2. Khởi tạo SDK

import { OlymPaySDK } from '@olympay/sdk';

const olymPay = new OlymPaySDK({
  network: 'mainnet', // hoặc 'testnet'
  apiKey: 'your-api-key'
});

3. Kết nối Ví

// Kết nối ví của người dùng
const wallet = await olymPay.connectWallet();

// Lấy địa chỉ ví
const address = wallet.getAddress();

4. Thực hiện thanh toán đầu tiên

// Tạo thanh toán
const payment = await olymPay.createPayment({
  amount: '100.00',
  currency: 'USD',
  recipient: '0x...',
  description: 'Thanh toán cho dịch vụ'
});

// Thực hiện thanh toán
const result = await payment.execute();

Mạng được hỗ trợ

OlymPay hiện hỗ trợ:

  • Aptos (Mainnet & Devnet)

  • Avalanche (Mainnet & Testnet)

  • BNB Chain (Mainnet & Testnet)

  • Ethereum (Mainnet & Testnet)

  • Solana (Mainnet & Devnet)

  • Celestia (Mainnet & Testnet)

  • Base (Mainnet & Testnet)

  • Olym3 (Testnet)

  • SUI (Mainnet & Testnet)

Bước tiếp theo

  • Tích hợp StableCoin

  • Thiết lập On/Off Ramp

  • Chuỗi chéo CCIP

  • Tham chiếu API