cityofzion / neo-tools Goto Github PK
View Code? Open in Web Editor NEWComposable command line tools for exchanges, price lookup, Neo APIs, and reference implementations for Neo Smart Economy function primitives
Composable command line tools for exchanges, price lookup, Neo APIs, and reference implementations for Neo Smart Economy function primitives
Add support for Ledger integration with CLI operation
Change all debug flags from -d and --debug to -D and --DEBUG
Add __filename or similar to debugging code to make the debug flag indicate clearly which module is logging a given message.
Add RPC-based transaction lookup to loosen coupling with Neoscan.
*Note: A lookup wrapper could be configured to try Neoscan first, then fall back to RPC if criteria are unmet.
Select nodes based on strict version / feature requirement
If a ticker changes by a user-configurable percentage in a configurable time then send an alert.
Review all CLI arguments to ensure mnemonics are consistent.
Mainly tested on Ubuntu 14.04, 16.04, and 18.04.
Needs Mac and Windows testing
Add utilities for encrypted WIF support (NEP-2) to account module
Add an alert facility to neostatus modules that includes an alert if:
Ensure JSON stdio formatting is consistent across all modules.
CLI modules could use a beautify option to control terminal output.
Ideas include color, layout, quoting
Add support for Kraken
Implement reference for NEP-5 transfer
Provide a search interface that offers lookup of tokens per address, address per token, etc.
There is currently an advisory warning users against the use of dynamic node selection as it can generate a volume of traffic during the selection process. To alleviate this issue, create a CLI option to active dynamic selection, with a preference to use a lower cost automatic node selection algorithm by default.
All CLI tools that query the chain should cache the chain as they produce data then refer to this data instead of the network when possible.
Create a utility function to get the best node based on height and/or ping.
Add Coinbase support
Trigger various actions, such as process or script execution, upon various blockchain event types.
fetter [12 minutes ago]
It looks like this could be related:
Ping First: 0
Using network: MainNet
Using method: connection
Node Count: 10
[ { url: 'https://seed1.cityofzion.io:443' }, { url: 'https://seed2.cityofzion.io:443' }, { url: 'https://seed3.cityofzion.io:443' }, { url: 'https://seed4.cityofzion.io:443' }, { url: 'https://seed5.cityofzion.io:443' }, { url: 'https://seed6.cityofzion.io:443' }, { url: 'https://seed7.cityofzion.io:443' }, { url: 'https://seed8.cityofzion.io:443' }, { url: 'https://seed9.cityofzion.io:443' }, { url: 'https://seed0.cityofzion.io:443' } ]
rpc query getconnections: https://seed1.cityofzion.io:443
rpc query getconnections: https://seed2.cityofzion.io:443
rpc query getconnections: https://seed3.cityofzion.io:443
rpc query getconnections: https://seed4.cityofzion.io:443
rpc query getconnections: https://seed5.cityofzion.io:443
rpc query getconnections: https://seed6.cityofzion.io:443
rpc query getconnections: https://seed7.cityofzion.io:443
rpc query getconnections: https://seed8.cityofzion.io:443
rpc query getconnections: https://seed9.cityofzion.io:443
rpc query getconnections: https://seed0.cityofzion.io:443
/home/fet/nwd/phetter/neotools/src/nodejs/neo-rpc/v2.9.0/client/module/getNodesBy.js: https://seed7.cityofzion.io:443.getNodesBy.connections().error: Error: write EPROTO 139724717692736:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure:../deps/openssl/openssl/ssl/s23_clnt.c:802:
/home/fet/nwd/phetter/neotools/src/nodejs/neo-rpc/v2.9.0/client/module/getNodesBy.js: https://seed8.cityofzion.io:443.getNodesBy.connections().error: Error: write EPROTO 139724717692736:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure:../deps/openssl/openssl/ssl/s23_clnt.c:802:
/home/fet/nwd/phetter/neotools/src/nodejs/neo-rpc/v2.9.0/client/module/getNodesBy.js: https://seed6.cityofzion.io:443.getNodesBy.connections().error: Error: write EPROTO 139724717692736:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure:../deps/openssl/openssl/ssl/s23_clnt.c:802:
/home/fet/nwd/phetter/neotools/src/nodejs/neo-rpc/v2.9.0/client/module/getNodesBy.js: https://seed9.cityofzion.io:443.getNodesBy.connections().error: Error: write EPROTO 139724717692736:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure:../deps/openssl/openssl/ssl/s23_clnt.c:802:
/home/fet/nwd/phetter/neotools/src/nodejs/neo-rpc/v2.9.0/client/module/getNodesBy.js: https://seed0.cityofzion.io:443.getNodesBy.connections().error: Error: write EPROTO 139724717692736:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure:../deps/openssl/openssl/ssl/s23_clnt.c:802:
/home/fet/nwd/phetter/neotools/src/nodejs/neo-rpc/v2.9.0/client/cli/getNodesBy.js: getNodesByPing().rankedNodes: [ { url: 'https://seed5.cityofzion.io:443', connections: 12, ping: undefined }, { url: 'https://seed3.cityofzion.io:443', connections: 21, ping: undefined }, { url: 'https://seed2.cityofzion.io:443', connections: 24, ping: undefined }, { url: 'https://seed1.cityofzion.io:443', connections: 25, ping: undefined }, { url: 'https://seed4.cityofzion.io:443', connections: 25, ping: undefined } ]
5 of 10 nodes responded
'[{"url":"https://seed5.cityofzion.io:443","connections":12},{"url":"https://seed3.cityofzion.io:443","connections":21},{"url":"https://seed2.cityofzion.io:443","connections":24},{"url":"https://seed1.cityofzion.io:443","connections":25},{"url":"https://seed4.cityofzion.io:443","connections":25}]'
Cache the results of rpc-over-https getNodesByX() results to a file.
Implement reference for sending assets
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.