Giter Site home page Giter Site logo

bcnd-p5-decentralized-star-notary's Introduction

Blockchain ND Project 5 - Decentralized Star Notary

Introduction

This project provides a decentralized star notary service on the Ethereum block chain, following the ERC721 standard. Users can claim a star, share a star story and sale a star to others.

This project is written in Solidity and with unit tests using Truffle framework.

Deployment

This service has already been deployed on the Rinkeby Ethereum blockchain, the contract can be found with the following contract address or here on Etherscan:

0x054617Ba4CCaF4C249AFDb53737B9B3d90e8Fcb0

The contract creation transaction has is:

0x3169957bd066310b8c045db203ebfea77de3f469e5313631cfaef7b4323ca881

An star has been claimed with token ID 1, and put up for sale. The star creation transaction hash is:

0xa8edb0b26439e1794bbbb1d35be208e4092390f59246a8e2f8ff7b7247cd55c5

The current owner of this star is:

0x23d4993DdB6041d0581166Bdc7d34ae7bB71C755

Notary Service Client

A web based client is provided for claiming new stars as well as lookup registered stars on the Ethereum blockchain.

Setup

This program relies on MetaMask and npm package manager. To setup the client, run the following commands in the terminal:

npm install http-server
http-server

Then open browser to the page http://localhost:8080.

You need give MetaMask permission to access your account's public information.

Usage

Claim star

A new star can be claimed by a user after key in all required fields. Dec, Mag, and Cent combinations are unique identifiers of a star, thus registering the same star twice will be rejected. Token ID can be any integer number, you can check the availability of an ID using the lookup function below.

Claiming a new star requires payment for execution of the smart contract. Follow the instructions in MetaMask will guide you complete the process. A new star will be transferred to the new owner after successful payment.

Lookup star

Registered stars can be looked up using the Lookup Star button.

bcnd-p5-decentralized-star-notary's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.