HomePywaves

Pywaves

Wondering how to start interacting with your node?

Pywaves is a python library designed to help you interact with your node in an easy way, it lets you create wallets and assets, perform dex trades, transactions and more, learn how to get started.

Getting Started

First install PyWaves using:

				
					pip install pywaves
				
			

To set up your node connection for your project, copy the following:

				
					import pywaves as py

py.setNode('https://testnet-node.decentralchain.io', 'testnet', '!')
py.setMatcher('https://matcher.decentralchain.io')
py.DEFAULT_CURRENCY='DCC'
				
			

To connect to your node instead of DecentralChain testnet public node change above urls to your node and matcher.

Choose between mainnet or testnet by specifying the network id and use “!”¬† for testnet or “?” for mainnet¬†

¬© 2022 DecentralChain by Blockchain Costa Rica All Rights Reserved.