RUJI Product Integration Guides

Technical documentation for integrating Rujira Network products into your application.

Available Guides

Integrate lending and borrowing functionality with native assets (BTC, ETH, XRP, DOGE, BCH, LTC and more) powered by Rujira and 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


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/mainarrow-up-right.

Network Endpoints

THORChain Mainnet

Type
URL

RPC

https://rpc.ninerealms.com

gRPC

https://grpc-thorchain.rorcual.xyz

REST

https://api-thorchain.rorcual.xyz/

THORChain Stagenet

Type
URL

RPC

https://stagenet-rpc.ninerealms.com

gRPC

stagenet-grpc.ninerealms.com:443

Rujira APIs

Environment
URL

Mainnet GraphQL

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

Stagenet GraphQL

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


Development Tools

Libraries

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

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