Skip to main content

Installation

XApp is a contract maintained in Omni's monorepo, alongside the rest of Omni's smart contracts. To use it, install Omni's smart contracts in your project.

Note

Note that Omni's contracts are under active development, and are subject to change.

Installing the XApp contract

npm install @omni-network/contracts

Importing the XApp contract

import { XApp } from "@omni-network/contracts/src/pkg/XApp.sol"