Python Waves

How to work with it? I would like to understand, it will also be useful for beginners.

The description says - Getting Started
You can install PyWaves using:

pip install pywaves

And nothing more is said. I would like a chain of steps of bases of riddles.

Hi. There you can find documentation and examples -
And also look into this:
I think this will help in understanding Pywaves

It’s all seen but I do not understand what to do next after pip install pywaves as for example in his purse to release a new asset?

You can release asset easily through the any waves wallet, except mobile versions. But anyway example:

import pywaves as pw

myToken = myAddress.issueAsset( name = "MyToken",
                                description = "This is my first token",
                                quantity = 1000000,
                                decimals = 2 )

Help to understand, after a step pip install pywaves as for example in his purse to release a new asset?


Can you write down the steps for what to drive?

  1. pip install pywaves

Hm, maybe you need start from there:

If you do not know do not ask me not to spam! step first installation of the python 2 installation pip install pywaves 3 ----- 4---- 5-----

Say for pywaves you need your full wave node or not?

no you don’t need your own node. pywaves does local signing

Code Example
import pywaves as pw

myAddress = pw.Address(privateKey=‘CtMQWJZqfc7PRzSWiMKaGmWFm4q2VN5fMcYyKDBPDx6S’)
otherAddress = pw.Address(‘3PNTcNiUzppQXDL9RZrK3BcftbujiFqrAfM’)
myAddress.sendWaves(otherAddress, 10000000)
myToken = myAddress.issueAsset(‘Token1’, ‘My Token’, 1000, 0)
while not myToken.status():
myAddress.sendAsset(otherAddress, myToken, 50)

otherAddress = pw.Address(‘3PNTcNiUzppQXDL9RZrK3BcftbujiFqrAfM’)

In these lines, I have to insert my key and the purse number I understand?

I get the following errors

Installing collected packages: python-axolotl-curve25519, idna, certifi, urllib3
, chardet, requests, pywaves
Running install for python-axolotl-curve25519 … error
Complete output from command c:\python27\python.exe -u -c “import setuptools
, tokenize;file=‘c:\users\asus\appdata\local\temp\pip-build-1l7wt9\py
thon-axolotl-curve25519\’;f=getattr(tokenize, ‘open’, open)(file);c’\r\n’, ‘\n’);f.close();exec(compile(code, file, ‘exec’
))” install --record c:\users\asus\appdata\local\temp\pip-5fajdy-record\install-
record.txt --single-version-externally-managed --compile:
c:\python27\lib\site-packages\setuptools\ UserWarning: Normalizi
ng ‘0.4.1-2’ to ‘0.4.1.post2’

running install
running build
running build_ext
building 'axolotl_curve25519' extension
creating build
creating build\
creating build\\Release
creating build\\Release\curve
creating build\\Release\curve\ed25519
creating build\\Release\curve\ed25519\additions
creating build\\Release\curve\ed25519\nacl_sha512
C:\Users\ASUS\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\

9.0\VC\Bin\amd64\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -Icurve/ed25519/nac
l_includes -Icurve/ed25519/additions -Icurve/ed25519 -Ic:\python27\include -Ic:
python27\PC /Tccurve/curve25519-donna.c /Fobuild\\Release\curv
curve/curve25519-donna.c(49) : fatal error C1083: Cannot open include file:
‘stdint.h’: No such file or directory
error: command ‘C:\Users\ASUS\AppData\Local\Programs\Common\Microsoft
\Visual C++ for Python\9.0\VC\Bin\amd64\cl.exe’ failed with exit status 2

Command “c:\python27\python.exe -u -c “import setuptools, tokenize;file=‘c:
\’;f=getattr(tokenize, ‘open’, open)(file);’\r
\n’, ‘\n’);f.close();exec(compile(code, file, ‘exec’))” install --record c:
users\asus\appdata\local\temp\pip-5fajdy-record\install-record.txt --single-vers
ion-externally-managed --compile” failed with error code 1 in c:\users\asus\appd
You are using pip version 9.0.3, however version 18.0 is available.
You should consider upgrading via the ‘python -m pip install --upgrade pip’ comm

how can I fix them? I’m using the version Python 2.7.14

Understood with the installation but what to do next? Who will tell?

C:\Users\ASUS>pip install pywaves
Requirement already satisfied: pywaves in c:\users\asus\appdata\local\programs\p
ython\python37-32\lib\site-packages (0.8.18)
Requirement already satisfied: base58==0.2.5 in c:\users\asus\appdata\local\prog
rams\python\python37-32\lib\site-packages (from pywaves) (0.2.5)
Requirement already satisfied: pyblake2 in c:\users\asus\appdata\local\programs
python\python37-32\lib\site-packages (from pywaves) (1.1.2)
Requirement already satisfied: python-axolotl-curve25519 in c:\users\asus\appdat
a\local\programs\python\python37-32\lib\site-packages (from pywaves) (
Requirement already satisfied: requests in c:\users\asus\appdata\local\programs
python\python37-32\lib\site-packages (from pywaves) (2.19.1)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\asus\appdata\local
\programs\python\python37-32\lib\site-packages (from requests->pywaves) (2018.8.
Requirement already satisfied: idna<2.8,>=2.5 in c:\users\asus\appdata\local\pro
grams\python\python37-32\lib\site-packages (from requests->pywaves) (2.7)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\users\asus\appdata\lo
cal\programs\python\python37-32\lib\site-packages (from requests->pywaves) (3.0.
Requirement already satisfied: urllib3<1.24,>=1.21.1 in c:\users\asus\appdata\lo
cal\programs\python\python37-32\lib\site-packages (from requests->pywaves) (1.23


Hi Emir,

sorry, but i really don’t understand your problem. After the installation of pywaves via pip, you can directly use pywaves in your python code. There are a couple of examples on the README of the github repo and there are also a couple of other open source projects using pywaves, so you have a couple of examples.


I installed PyWaves

I do not understand how to run it. I want to re-issue the asset, how to do it?

Hi Emir,

now you need to write a small python script that calls the reissueAsset method from the Address class…


Как это сделать? вы можете мне помочь?
How to do it? Could you help me?