Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • crown-core crown-core
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 75
    • Issues 75
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Crown
  • crown-corecrown-core
  • Issues
  • #206

Closed
Open
Created Jul 30, 2018 by Artem B@artemOwner12 of 12 tasks completed12/12 tasks

Simple NF token registration and timestamping

User Story

As a Crown blockchain user, I want to be able to register/issue a cryptographic token representing a document or another unique asset so that I can prove existence, time registration and authenticity of that asset anytime.

Requirements

  • An nf-token entry should contain a 256-bit binary string representing a token. It can be an SHA-256 hash or another user-defined unique binary data. The token id must be unique in the current token type namespace.
  • An nf-token entry should contain a unique id representing current nf-token type/protocol.
  • There must be a way to prove the token ownership.
  • There should be a way to add metadata to the token.

Tasks

  • Implement nf-token registration transaction using special-transactions
  • Implement nf-tokens data structure in-memory handling
  • Implement JSON RPC API to issue new nf tokens
  • TxMemPool confict handling
  • Block processing
  • Include spec-tx data in json formatted transactions (link)
  • CreateTransaction extraPayload (link)
  • Unit-tests
  • Debugging
  • Refactor code, get rid of TODOs
  • Code Review
  • QA

Definition of done

  • Ready for production after QA check.

How to demo

  • Open Crown wallet console.
  • Run nftoken issue/publish <nf-token-symbol> 507850195211dca75e1120ecfa0983b94af7fc221a0b68cc164ccbf8e8056057 <addr>.
  • A token should be registered successfully.

Link/refs/notes/images

dip-0002

Edited Jul 19, 2019 by Artem B
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking