quantadex / quanta_explorer Goto Github PK
View Code? Open in Web Editor NEWQUANTA blockchain explorer
Home Page: https://quantadex.github.io/quanta_explorer/
QUANTA blockchain explorer
Home Page: https://quantadex.github.io/quanta_explorer/
New crosschain address is : 0xf8306d5279193146f307dc1c170ea59e7b0c370a
Let's make sure the deployment crosschain uses this for mainnet.
You can get number of active witness from get_global_properties
It might be easier just to detect
the baseURL from window so we change less code.
User may now remember their account id, only by their public key.. please give them a choice for public key. Some public key may reveal multiple accounts.
I believe this one: QA4yeoMtbdDQeSh92HahSg1GPmh1yxg8Em1qRV94ZwJXvSu1huyq
or QA71zQPZCNMBNreR7mP3z22vQRSzq5USYhrLVnvW2msfyeURqRsS yields multiple accounts
If it yields multiple accounts:
Present the user with a screen to pick from a list.
Display the crosschain transactions. There are 3 nodes, and here are the API.
https://wya99cec1d.execute-api.us-east-1.amazonaws.com/testnet/node1/status
https://wya99cec1d.execute-api.us-east-1.amazonaws.com/testnet/node2/status
https://wya99cec1d.execute-api.us-east-1.amazonaws.com/testnet/node3/status
https://wya99cec1d.execute-api.us-east-1.amazonaws.com/testnet/node1/history
https://wya99cec1d.execute-api.us-east-1.amazonaws.com/testnet/node2/history
https://wya99cec1d.execute-api.us-east-1.amazonaws.com/testnet/node3/history
/status
TotalTransactions (used for calculating pages)
CURRENTBLOCK:ETH: "4869260",
CURRENTBLOCK:QUANTA: "2635475",
Public Key
/history
SourceTX = TX , BlockNumber= Source Block
SubmitTxHash = ToHash , SubmitBlock_num = To Block
From = From
For Deposit, link to https://ropsten.etherscan.io/address/<from>
For Withdrawal, link to http://testnet.quantadex.com/account/<from>
If BOUNCE, link to http://testnet.quantadex.com/ledgers/<ledger>
To:
Normal deposit, withdrawal - Reverses with FROM
If BOUNCE, link to http://testnet.quantadex.com/ledgers/<ledger>
Hover on from From TX, or TO TX displays respective Block #
Amount calculation:
Retrieve the Coin from get_asset on QUANTA, to get the precision. Use the precision and calculate
the decimals of the amount.
ERC20 Linking
Split the Coin for "0X", if length is == 2 , then use first one as coin, and second one (with prefix 0x.. ), and lowercase, to link to ERC20 token when the user click on the tool tip
https://ropsten.etherscan.io/token/<token>
Dependent on quantadex/distributed_quanta_bridge#25
All witnesses is pulled from "list_witnesses 0 100"
Users are asking how many people holding certain coins.. Let's provide a rich list of these coins.
https://open-explorer.io/#/assets
We have fewer columns.
Clicking on Asset takes to top holders
https://open-explorer.io/#/assets/1.3.113
with paging , see get_asset_holders api
const fetch = require('node-fetch');
var wsString = "ws://testnet-01.quantachain.io:8090";
import GrapheneApi from "@quantadex/bitsharesjs-ws/cjs/src/GrapheneApi";
import ChainWebSocket from "@quantadex/bitsharesjs-ws/cjs/src/ChainWebSocket";
import { hash } from "@quantadex/bitsharesjs";
// import GrapheneApi from "@quantadex/bitsharesjs-ws/es/src/GrapheneApi";
import createHash from "create-hash";
var url = "https://wya99cec1d.execute-api.us-east-1.amazonaws.com/testnet/account?filter_field=operation_type&filter_value=50&size=1000"
async function main() {
// await Apis.instance(wsString, true, 3000, { enableOrders: false }).init_promise
let conn = new ChainWebSocket(wsString, () => { }, 3000, true,() =>{});
await conn.login("","")
var api = new GrapheneApi(conn,"asset");
console.log("connect?");
try {
const out = await api.init()
console.log("connected");
const block = await api.exec("get_asset_holders", ["1.3.0", 0, 100])
console.log(block);
const count = await api.exec("get_asset_holders_count", ["1.3.0"])
console.log("Count",count);
}catch(e) {
console.log(e);
}
}
main().then(e=> {})
How to generate maps:
API: network_get_connected_peers
https://developers.google.com/maps/documentation/javascript/examples/marker-simple
http://ip-api.com/docs/api:batch
In the tools/generate page, at the bottom..
If you're looking for 100% secure, offline wallet generation, check out our offline_wallet on Github.
Try put in search galaxyfoundation221090
expected: to go to account page
It's currently client-side paging. Should use server-side paging. This is causing page load failure on high # page.
get_global_properties - to get active committee member and witness
get_witness 1.6.2 - get specific witness info
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.