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.
| Path | Returns |
|---|---|
/btc_relay/state | tip 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.
| Path | Returns |
|---|---|
/lightning/channel/:id | channel 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);
}
| Path | Returns |
|---|---|
/x1/contract/:addr | bound native modules + permissions |