RUJI Product Integration Guides

Technical documentation for integrating Rujira Network products into your application.

Available Guides

Integrate RUJI Trade orderbook DEX with native assets (BTC, ETH, SOL, XRP, DOGE, BCH, LTC and more) secured by THORChain - fully decentralized and permissionless.

Integrate lending and borrowing functionality with native assets (BTC, ETH, SOL, XRP, DOGE, BCH, LTC and more) secured by THORChain.

  • Lending (Ghost Vault)

    • Deposit assets to earn yield

    • Receive transferable receipt tokens

    • Dynamic interest rates based on utilization

  • Borrowing (Ghost Credit)

    • Create isolated Credit Accounts

    • Deposit multi-asset collateral

    • Borrow against collateral with overcollateralized loans

Integrate staking markets powered by the Rujira staking contract, including RUJI, bRUNE and TCY. Allow users to stake and earn rewards from real economic activity. The staking contract supports both Account staking (claimable yield) and Liquid staking (auto-compounding).


Quick Reference

Main Supported Assets

Asset
Denom
Decimals

BTC

btc-btc

8

ETH

eth-eth

8

USDC

eth-usdc-0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48

8

USDT

eth-usdt-0xdac17f958d2ee523a2206206994597c13d831ec7

8

BCH

bch-bch

8

DOGE

doge-doge

8

LTC

ltc-ltc

8

XRP

xrp-xrp

8

BNB

bsc-bnb

8

AVAX

avax-avax

8

TRX

tron-trx

8

ATOM

gaia-atom

8

Note: For the full list of supported assets and chains, check THORChain active pools on https://thorchain.net/pools/main.

Network Endpoints

THORChain Mainnet

Type
URL

RPC

https://gateway.liquify.com/chain/thorchain_rpc

gRPC

https://grpc-thorchain.rorcual.xyz

REST

https://gateway.liquify.com/chain/thorchain_api

Rujira APIs

Environment
URL

Mainnet GraphQL

https://api.rujira.network/api/graphiql


Development Tools

Libraries

RUJI contracts are standard CosmWasm. Use any Cosmos SDK compatible library:

Language
Library

TypeScript/JavaScript

Python

Contract Schemas

JSON schemas for all message types are available in each contract's /schema directory:


Common Patterns

Querying Contract State

Executing Transactions

Handling Decimals

All amounts use 8 decimal places:


Support

Last updated