We've moved to https://gitlab.com/bodhiproject!
bodhiproject / qweb3.js Goto Github PK
View Code? Open in Web Editor NEWWeb3.js for Qtum
License: GNU Lesser General Public License v3.0
Web3.js for Qtum
License: GNU Lesser General Public License v3.0
We've moved to https://gitlab.com/bodhiproject!
现在没有发布版的qweb3.js,外部dapp程序调用不了,希望有一个通用的qweb3.js
#- add 3 functions (place these under the correct comment headings based on ./qtum-cli -testnet help
headings)
Hi, it basically doesn't let me type 'RegressionTesting' as my RegTest wallet name. While typing "Reg" it gets stuck there and I have to close and open Qrypto again. If I use other strings like 'SomethingElse' it does work. It seems the hash function makes some calcs while typing but is having issues hashing "R"?
Remove the extra return values that Ethjs-abi returns.
only if we update bodhi-core bodhiproject/bodhi-core#75
#我用Google搜索qweb3,结果显示:
https://medium.com/@bodhitoken/bodhi-development-tools-qweb3-web3-js-for-qtum-a1cd52abbcc4
http://vlambda.com/wz_xbxCSUCNON.html
里面的教程说 qweb3只能和量子链本地节点通信,想确认一下,谢谢~
List all I hv in mind:
toQTUMAddress()
with isMainnet = True
eventName
to qweb3 > convert to hex > chunk to bytes[10] arrayI am trying to convert Qtum address to hex...
const { Qweb3 } = require('qweb3');
const qClient = new Qweb3('http://user:pass@localhost:13889');
async function getHexAddress(address) {
return await qClient.getHexAddress(address);
}
getHexAddress('qKjn4fStBaAtwGiwueJf9qFxgpbAvf1xAy').then(function(result) {
console.log(result) //will log results.
});
getHexAddress('Qh1UygQTXB5PSdkEhHnqUXGAjmzGW5Rh2d').then(function(result) {
console.log(result) //will log results.
});
but received this error:
17e7888aa7412a735f336d2f6d784caefabb6fa3
(node:8620) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Invalid Qtum address
The 1st address is from this repository docs and it works, but 2nd one is my test address and I received Invalid Qtum address
error. But this is valid address .
What is wrong?
I'm getting this
UnhandledPromiseRejectionWarning: Error: JSON value is not a string as expected
for every single command that isn't a utility. So that means my qtumd rpc is acting up. Any ideas or advice? I can make these commands with qtum-cli
Obfuscation causes the return of the provider to change the name so we need to check if the rawCall
function exists and it conforms to the provider interface.
let's keep the dependency surface smaller
Qtum 0.14.15 client enforces non-exponential numbers in RPC calls. Specifically, gasPrice
needs to be changed. Currently being sent in as 4e-7
.
For model and monitoring
https://github.com/qtumproject/qtum-explorer
For rpc call
https://github.com/qtumproject/qtumcore-lib
Decode log based on event abi
a. https://github.com/ConsenSys/abi-decoder/blob/ecbdc4dbbea9108953b340b3a89881a6b4232ecf/index.js#L101
b.https://github.com/hayeah/qtumjs/blob/d7ebdbb1cc88a5e948ce6c08918d01a26a7964ed/src/abi.ts#L56-L91
Node 9.3 is already end of life. Please upgrade to the current release 10.x
How to implement sendRawTransaction using qweb3 and local qtum node?
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.