Onft

Crates.io Docs

Bespoke protocol and high-level implementation of Non-fungible token (NFT) technology 🚀

Example

```rust use onft::Chain;

// create let mut chain = Chain::default(); println!("Chain: {:?}", chain);

// add block chain.push_data("Hello, world!").unwrap(); println!("Chain: {:?}", chain);

// verify if let Ok(true) = chain.verify() { println!("Verified") } else { eprintln!("Not verified") } ```

Check the useful examples/ directory or the item-level documentation for more examples! 😊

Usage

Simply add the following to your Cargo.toml file:

toml [dependencies] onft = "0.1.0-beta.2"

Licensing

This project is dual-licensed under both the MIT and Apache licenses, so feel free to use either at your discretion.