irisnet / irishub-sdk-js Goto Github PK
View Code? Open in Web Editor NEWJavaScript SDK for IRIS Hub
License: Apache License 2.0
JavaScript SDK for IRIS Hub
License: Apache License 2.0
toMinCoin
and toMainCoin
to convert coin unitsSimplify ResultTx
Ref: #22
Provide a Subscribe ValidatorSetUpdates
function, convert all of the validator hex addresses to bech32
encoded.
For offline signing and new account signing, we can not obtain the account pubkey from the blockchain, so we need to store/get the account pubkey locally.
Fork https://github.com/cosmos/amino-js and generate irishub custom types
Initialize sdk instance in some ways like:
let sdk = iris.newSdk(config: SdkConfig)
Ref: #22
Provide a Subscribe Tx
function which accepts user defined query params.
Ref: #22
Ref: #22
Provide a Subscribe NewBlockHeader
function, and convert ProposerAddress
in Header
to bech32
encoded.
For compatibility with irishub v0.17
In general, we may need the following event listeners:
Transfers
- used to monitor transfers to a certain address, etc.Validator Info
- used to monitor whether the validator has changed the commission ratio, etc.Validator Status
- used to monitor whether the status of the validator is abnormal or the voting power has changed significantlyService
- Invocation and callback notificationCoinswap
- Liquidity monitoringRef: #22
Implement the Keys Module:
Add CI/CD config for TypeDoc
Unit Tests for all modules
To be discussed:
Implement tendermint rpc:
Stage 1:
Ref: #22
Develop EventListener Framework:
Ref: #22
Provide a Subscribe NewBlock
function and decode txs in the block
Initialize irishub-sdk-js
, using Yarn
+ Typescript
+ Jest
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.