Skip to content

Code examples demonstrating how to use the Omni library

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

Omni-rs/examples

Omni Transaction Rust library examples

This repository contains a set of examples that demonstrate how to use the main features of OmniTransactionBuilder.

Telegram chat

Pre requisites

Usage

To run an example, use the command just run <example name>.

For example:

$ just run evm-simple-encoding

Examples architecture

Each example contains a Near smart contract with unit tests and an integration test located in the tests folder.

The structure of each example is as follows:

  • src
    • lib.rs # the Near contract
  • tests
    • test_contract.rs # the integration test

The recommendation is to go thought each example and read the annotated integration test.

Examples list

EVM

NEAR

Bitcoin

About

Code examples demonstrating how to use the Omni library

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages