codechain-io / codechain-sdk-python Goto Github PK
View Code? Open in Web Editor NEWPython Software Development Kit for CodeChain
License: ISC License
Python Software Development Kit for CodeChain
License: ISC License
[0] % python3 --version
Python 3.7.4
[0] % pipenv shell
Warning: Python 3.6 was not found on your system…
[[source]]
You can specify specific versions of Python with:
$ pipenv --python path/to/python
Tentative schedule
~7/21
I reconstructed the project.
Setupping project took much time than I thought.
part 1
part 2
part 3
part 4
I decided to include sending mintAsset and transferAsset transactions only in the SDK alpha version. Bold things are needed.
Now, the keystoreManager
class makes persistent keystore.db
as default. We need to add an option for making it volatile.
To achieve this, we need to increase the python version to 3.8
.
Json.stringify
in sdk-js is different from str(object)
in python. As a result, metadata in assetscheme
can be different when the assetscheme
is minted from sdk-js and sdk-python. It might not be a problem in each SDK's functionality but it can ruin a consistency between SDKs.
I think there is a mismatch between codechain core and python-sdk implementation.
I think 0x prefix is not added in this code.
Is 0x prefix added as the spec says?
Currently, it takes and gives raw dict when you make a request and get a response.
However it is not desirable since we have some types that do not correspond 1:1 to JSON objects such as big integers and hash types.
We need to convert between our primitive types and JSON types.
CCKey
class should retain both keystore manager
(asset, platform) and HD keystore manager
. However, we didn't implement HD keystore manager
since there seems no use-case until now.
It isn't maintained and has a vulnerability
pycrypto/pycrypto#285
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.