Skip to content

dragan-novakovic/ham-chain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

ham-chain

Setup

  1. Download rust https://www.rust-lang.org/tools/install

  2. cargo build

  3. Farmer kreira animal

struck Animal {
id: [u8, 16],
owner: AccountOf<T>,
price: BalanceOf<T>
}
  1. Proizvodjac kreira novi ham, podesava inicijalne vrednosti
struct Ham {
  id: [u8, 16],
  price: BalanceOf<T>,
  ham_kind: HamKind
  owner: AccountOf<T>
  animal_id: [u8, 16]
  }
  1. Distributer (koji je node) radi re-sale

  2. Krajnji korisnik ima celu putanju vlasnistva

  • Cela list vlasnika
  • Zadnja cena
  • Datumi Prodaje

UI

  • Login centralizovan api - povezan sa wallet
  • Permisije

About

Blockchain API and front-end for Farm production

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published