Skip to main content

tmn

Branch Status Coverage
Master Build Status Coverage Status
Develop Build Status Coverage Status

Tomo MasterNode (tmn) is a cli tool to help you run a Tomochain masternode

Running and applying a masternode

If you are consulting this repo, it's probably because you want to run a masternode. For complete guidelines on running a full node and applying it as a masternode, please refer to the documentation.

Requirements

  • Python >= 3.6
  • Docker

Installation

pip3 install --user tmn

If you are using macOS, make sure that the user python3 path is in your $PATH.

They are in ~/Library/Python/[python version number]/bin.

For example, with python 3.6 and bash, add PATH=$PATH:~/Library/Python/3.6/bin to your ~/.bashrc.

Update

pip3 install -U tmn

Usage

Usage: tmn [OPTIONS] COMMAND [ARGS]...

  Tomo MasterNode (tmn) is a cli tool to help you run a Tomochain masternode

Options:
  --dockerurl URL  Url to the docker server
  --version        Show the version and exit.
  --help           Show this message and exit.

Commands:
  docs     Display Tomochain documentation link
  inspect  Show details about your Tomochain masternode
  remove   Remove your Tomochain masternode
  start    Start your Tomochain masternode
  status   Show the status of your Tomochain masternode
  stop     Stop your Tomochain masternode

First start

On the first run you will need to provide some options to the start command. It will let you configure your node.

name = tomochain-orion  # A name that represents you.
                        # It will be the public name available on tomomaster
                        # and on the network stat page.

net = testnet           # The network you want to connect to.
                        # Should be testnet or mainnet.

pkey = a25...5f5        # The private key of the account you want your
                        # masternode to use.
                        # It will be used to receive rewards.

tmn start --name $name --net $net --pkey $pkey

After first start

Once your node has been configured, you can use the start, stop and status command to interact with your node without any options.

tmn stop

tmn start

tmn status

Removing

If you want to completely remove your node, you can use the remove command. Be aware that it will delete all data and lose your unique identity.

tmn remove

Applying your node

With a running node, you can now apply it as a masternode on TomoMaster. You can get the details of your node required to apply directly from tmn.

tmn inspect

Release files for tmn 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tmn 0.1.2
File Size Uploaded
tmn-0.1.2.tar.gz 10.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tmn 0.1.2
File Interpreter ABI Platform
tmn-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 44.3 kB

Release files / tmn-0.1.2.tar.gz

Download URL tmn-0.1.2.tar.gz
Size 10.5 kB
Tags Source
SHA-256 checksum
How to use checksums
db77dddf712b21b8c7e1140f955c659a1c54fd9b8acf1ae2cddc32199c40712c
BLAKE2b-256 checksum
How to use checksums
f10c4509652c0efcf753acc409ac0f45a7475c2b334c21196d8032661e738e6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.3.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3

Release files / tmn-0.1.2-py3-none-any.whl

Download URL tmn-0.1.2-py3-none-any.whl
Size 33.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
321cdee36f80f7137846b1131f924adea926e7329baa2707875de06ff9e3e4e1
BLAKE2b-256 checksum
How to use checksums
07019745c92f5bc004c0f691e65823cbf0a411a58104c1ba1a14b6ebe978c7b8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.3.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3

Release history Release notifications | RSS feed

0.5.8

2 release files

0.5.6

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.0

2 release files

0.1.3

2 release files

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page