Skip to main content

Cross-chain & X1

BTC SPV relay

The chain maintains a Bitcoin SPV header chain. The tip is updated by a permissioned set of relayers (gov v2 controlled) and is the trust root for hash-locked-contract bridges.

PathReturns
/btc_relay/statetip height, hash, difficulty target

Lightning

Fenryx hosts a Lightning sub-network where channels live as on-chain state commitments, with off-chain HTLC updates. Closing a channel writes the final balances back to native accounts.

PathReturns
/lightning/channel/:idchannel state, balances, expiry

X1-Contracts

X1-Contracts is the precompile at 0x0…7373 that lets Solidity code call native Fenryx modules:

interface IFenryx {
function stake(address validator, uint256 amount) external;
function dexSwap(string memory pool, uint256 amountIn, uint256 minOut) external;
function didLevel(address who) external view returns (uint8);
}
PathReturns
/x1/contract/:addrbound native modules + permissions