command
module
Version:
v0.0.0-...-1b3d248
Opens a new window with list of versions in this module.
Published: Apr 6, 2023
License: GPL-3.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
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
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Package cmds provides command line tools.
|
Package cmds provides command line tools. |
Package digest provides api features.
|
Package digest provides api features. |
|
|
|
|
Click to show internal directories.
Click to hide internal directories.