Owez / onft

Bespoke toolkit for Non-fungible token (NFT) technology

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crates.io Docs

Bespoke toolkit for Non-fungible token (NFT) technology ๐Ÿš€

What is Onft?

Instead of forcing a consensus algorithm or peer networking on you, Onft provides you with the tools to create a reliable and fast NFT system ๐Ÿ‘

This allows you to focus on implementing the important stuff, as well as getting benefits such as automatic improvements and updates over this project's lifecycle, whilst still being fully standardized.

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.

About

Bespoke toolkit for Non-fungible token (NFT) technology

License:Apache License 2.0


Languages

Language:Rust 100.0%