TN DocHub

The one place for all Turtle Network related documentation.

View My GitHub Profile


About TN

For Users

For Node owners

For Dev's


The easiest way to interact with the node is currently by using Python. The most convenient library for this is Pywaves or PyCWaves.

How to configure my pywaves instance to connect with Turtle Network

You can select between mainnet and testnet. For mainnet we use network char L, for testnet ‘l’.

Below snippet shows how to properly setup pywaves for Turtle Network.

import pywaves as py

py.setNode('', 'testnetTN', 'l')

Following snippet show how to use 2 networks at the same time, could be waves and TN, but also TN and TN-testnet

pw1 = pw.ParallelPyWaves()
address = pw.Address(address='3PCdNCULgjM9ZMLEt61M45qxV26ro6o48Jj',pywaves=pw1)

pw2 = pw.ParallelPyWaves()
pw2.setNode("","TN MAINNET",'L')
address2 = pw.Address(privateKey='privatekey',pywaves=pw2)
print(" address: "+address2.address)

Git repo’s

PyWaves PyCWaves