onft

Crates.ioonft
lib.rsonft
version0.1.0-beta.2
sourcesrc
created_at2021-09-25 22:52:09.735742
updated_at2021-09-26 20:58:30.29688
descriptionBespoke protocol and high-level implementation of Non-fungible token (NFT) technology 🚀
homepage
repository
max_upload_size
id456331
size39,989
Owen Griffiths (Owez)

documentation

README

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.

Commit count: 0

cargo fmt