vechain / thor-devkit.py Goto Github PK
View Code? Open in Web Editor NEWPython 3 library to aid coding with VeChain, eg. Wallets/Tx/Sign/Verify.
License: GNU General Public License v3.0
Python 3 library to aid coding with VeChain, eg. Wallets/Tx/Sign/Verify.
License: GNU General Public License v3.0
how to get blockID for create transaction body ?
Hey sorry I know this isn't the place but I'm looking to get in contact with you regarding some python work for vexchange. It's paying. Add me on telegram to discuss @Raleigh_CA
Since v0.6.0
solidity compiler supports complex input-ouput params of functions using structures.
Now many tools like Truffle
can compile and generate and test complex params functions.
This is so-called ABIv2 support.
We need to support that too in thor-devkit.py
, and here is the information that developer should know:
Background:
What is tuple
type in ABIv2:
https://docs.soliditylang.org/en/v0.5.3/abi-spec.html#handling-tuple-types
Currently we rely on eth-abi
library to build the abi.Function
module.
How do we fix the:
abi.Function.encode(params_list)
abi.Function.decode(bytes)
Is eth-abi
supporting it? Or can we switch to a new library to support us.
As in ABI, Keystore, and Certificate modules have demonstrated, a consistent representation of "dict" structure, it is more flexible and key names can be freer than underscored naming convention.
So the proposal is to use "dict" as the input of the Transaction module instead of initializing an instance of a "class".
I change some lib version in thor-devkit . and get this error ImportError: cannot import name 'Bip32' from 'bip_utils'
pysha3==1.0.2
pytest~=6.2.2
pytest-cov
ecdsa>=0.17.0
eth-keys<0.4.0,>=0.3.4
mnemonic==0.19
bip-utils==2.4.0
eth-keyfile==0.5.1
rlp==1.2.0
eth-abi==2.1.1
voluptuous==0.12.0
wheel
twine
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.