monosux / blockie-doggy

The Blockie Doggy is a demo project created during Truffle Univerity. The project shows how ERC721 token can be used to create a simple decentralized animal registry.

Home Page:https://ipfs.infura.io/ipfs/QmTwrT6REUvVEqrCPf8wBYamYkuENvQqyRbNcKmxKU5PRj/#/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blockie Doggy: blockchain based animal registry

Demo

Demo running on Rinkeby Testnet: QmcyVnRJ64wLjvPiqMwQWQuBTAebMHxPXRumKVjv6xgSnw

About

The Blockie Doggy is a demo project created during Truffle Univerity. The project shows how ERC721 token can be used to create a simple decentralized animal registry.

ERC721 token used as a base for animal identity. I created additional extension 'ERC721Claims' that makes it possible to add 'claims' to the animal identity. 'Claims' are proved by veterinary information about a dog. For example dog's special ability. Take a look at 'ERC721ClaimsInterface' contract to see the basic structure of this extension.

Use Cases

  • The animal owner can register the dog and get ERC721 token as a dog ID.

  • Veterinary can add 'claims' to a dog ID. Such as information about vaccination or special dog's abilities.

  • Anyone can check information about a dog. See the ID and issued 'claims'.

Setup

  1. Be sure you have truffle and ganache-cli installed globally. If not:
yarn global add ganache-cli truffle
  1. Install packages.
yarn install
  1. Create deploy-config.json file:
{
    "mnemonic": "",
    "infura": ""
}
  1. Run the development blockchain.
ganache-cli
  1. Compile and migrate contracts.
truffle compile
truffle migrate
  1. Run dApp.
yarn start
  1. Have fun 😎

About

The Blockie Doggy is a demo project created during Truffle Univerity. The project shows how ERC721 token can be used to create a simple decentralized animal registry.

https://ipfs.infura.io/ipfs/QmTwrT6REUvVEqrCPf8wBYamYkuENvQqyRbNcKmxKU5PRj/#/


Languages

Language:JavaScript 96.9%Language:CSS 2.7%Language:HTML 0.4%