Giter Club home page Giter Club logo

pyzil's People

Contributors

deepgully avatar nnamon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pyzil's Issues

Zil Adress

Hi.
Will this work with ZIL new adress format? zil1xfsrre5qgx0mqg...

thank you.

Fails to build -expected gmp.h not available

I tried to pip install and to build from source, but I always get this output:

gcc -pthread -B /home/tom/miniconda3/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -Isrc/ -I/home/tom/miniconda3/include/python3.7m -c src/curveMath.c -o build/temp.linux-x86_64-3.7/src/curveMath.o -O2
In file included from src/curveMath.c:1:0:
src/curveMath.h:6:10: fatal error: gmp.h: No such file or directory
#include <gmp.h>
^~~~~~~
compilation terminated.
error: command 'gcc' failed with exit status 1

----------------------------------------

Command "/home/tom/miniconda3/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-install-iycz2l9f/fastecdsa/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-4hlgv__x/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-iycz2l9f/fastecdsa/

is it possible to utilize this resource without gmp? I tried building it from source but had other issues that I am not motivated to fix.

Failed with jsonrpcclient 4.x

In a brand new virtualenv

/tmp $ virtualenv testpyzil

created virtual environment CPython3.9.9.final.0-64 in 688ms
  creator CPython3Posix(dest=/private/tmp/testpyzil, clear=False, no_vcs_ignore=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/Users/revol/Library/Application Support/virtualenv)
    added seed packages: pip==22.0.3, setuptools==60.6.0, wheel==0.37.1
  activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator

/tmp $ source testpyzil/bin/activate

/tmp [testpyzil] $ pip freeze

# NO PACKAGE

/tmp [testpyzil] $ pip install pyzil

...
Collecting jsonrpcclient[requests]
  Using cached jsonrpcclient-4.0.2-py3-none-any.whl         <------ auto selected latest version
...
Successfully installed certifi-2021.10.8 charset-normalizer-2.0.12 eth-hash-0.3.2 fastecdsa-2.2.3 idna-3.3 jsonrpcclient-4.0.2 protobuf-3.19.4 pycryptodome-3.14.1 pyethash-0.1.27 pyzil-1.5.22 requests-2.27.1 urllib3-1.26.8

/tmp [testpyzil] $ python -c "from pyzil.zilliqa import chain"

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/private/tmp/testpyzil/lib/python3.9/site-packages/pyzil/zilliqa/chain.py", line 21, in <module>
    from pyzil.zilliqa.api import ZilliqaAPI, APIError
  File "/private/tmp/testpyzil/lib/python3.9/site-packages/pyzil/zilliqa/api.py", line 15, in <module>
    from jsonrpcclient.exceptions import JsonRpcClientError
ModuleNotFoundError: No module named 'jsonrpcclient.exceptions'

low-level API

In the python file at tests/test_lowlevel_api.py, there is no script for creating a transaction.
Actually, I have created a local network of nodes and using pyzil client API as a means to have transactions between them.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.