onft 0.1.0-beta.2

Bespoke protocol and high-level implementation of Non-fungible token (NFT) technology 🚀
Documentation
  • Coverage
  • 100%
    20 out of 20 items documented5 out of 8 items with examples
  • Size
  • Source code size: 39.46 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.97 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Owez

Onft

Crates.io Docs

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

Example

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:

[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.