razor-network / cli Goto Github PK
View Code? Open in Web Editor NEWCommand line client for Razor network
Home Page: https://razor.network
Command line client for Razor network
Home Page: https://razor.network
The sleep module is not needed anywhere. It should be removed from the package.json
According to the smart contract, unstake
can only be performed if the state is '0'
or commit
. But no such check is made from the cli end and the transaction is sent to the smart contract regardless of the state, which sometimes causes it to fail.
In the file api.js
line number 477, the proposeAlt
method from BlockManager.sol has been called, however, there is no such method in the block manager smart contract.
It must be replaced with appropriate method.
On razorscan.io, we have a EUR datafeed which is reporting 0 since the URL in the job is giving 404.
We need to add functionality to the API to return jobs that are reporting correct values.
There are two functions, whose implementation is there in api.js
but they are not exported from api.js
.
These functions are:
They have to be exported from module.exports
the master branch of CLI contains the addresses of contracts that are being deployed on the Matic network. But On the server, we are live on Goerli Network. Due to which server stopped working.
Connection to infura is getting lost after some time. To fix this issue, listen for loss of connection and then reconnect so that razorscan.io doesn't go down.
We are not actively developing javascript CLI. We need to archive it. @hrishikeshio
we need to replace the goerli addresses with the matic Addresses since we will be using Matic testnet
Currently the state length and set Interval time is set according to the goerli Blockchain. And it does not work properly with Matic Chain testnet.
Hence we need to change the state length and set interval according to Matic testnet
sometimes a blank wallet is created. possibly due to not specifying infura key
Change the buffer from < 70%, > 0% to < 80%, > 20%
We are currently subscribing to websockets for new blocks. We need to move away from this as Web sockets keep disconnecting.
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.