mitum-nft

command module
v0.0.0-...-1b3d248 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

README

mitum-nft

mitum-nft is a nft contract model based on mitum.

Features,

  • user defined contract account state policy: collection.
  • collection: user defined nft collection.
  • mongodb: as mitum does, mongodb is the primary storage.
  • reference nft standard: ERC-721
  • multiple collection policy for one contract account.

Installation

Before you build mitum-nft, make sure to run docker run.

$ git clone https://github.com/protoconNet/mitum-nft

$ cd mitum-nft

$ go build -ldflags="-X 'main.Version=v0.0.1-tutorial'" -o ./mitum-nft ./main.go

Test

$ go test -tags 'test' ./... 

For more details,

$ go clean -testcache; time go test -race -tags 'test' -v -timeout 20m ./... -run .

Run

$ ./mitum-nft node init <config file>

$ ./mitum-nft node run <config file>

standalong.yml is a sample of config file.

Sample Operations

There are sample operation files in the repository.

Just try sending operations in the order listed below.

All results of operations must be true.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package cmds provides command line tools.
Package cmds provides command line tools.
Package digest provides api features.
Package digest provides api features.
nft

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL