block-bites / fondant-app Goto Github PK
View Code? Open in Web Editor NEWTesting environment for Casper blockchain.
Home Page: https://fondant.dev
License: Apache License 2.0
Testing environment for Casper blockchain.
Home Page: https://fondant.dev
License: Apache License 2.0
user should be able to select from which node he will listen to
examples here
https://github.com/casper-ecosystem/casper-js-sdk/blob/dev/e2e/services/EventStream.test.ts
So check if the bundled app runs both on Mac, Windows and Linux
So you can select network number from the dropdown in Accounts
/ Blocks
/ Deploys
/ Events
tabs (logs are agnostic to the node).
this will change the context data which is selectedNode
to number and later it will be used to build the requested nodeUrl http://localhost:3000/net/SELECTED_NUMBER/rpc
or http://localhost:3000/net/SELECTED_NUMBER/sse
return nctl logs from api to render it raw in logs tab
Similar to https://cspr.live/blocks
We will have
Block Height | Era | Deploys | Age | BlockHash
We can use SDK to get all of the data from the endpoints:
init new instance with rpc url (eg http://localhost:3000/net/1/rpc
) and use getLatestBlockInfo
and getBlockInfoByHeight
That way you can show latest 10 blocks, display proper data and add pagination at the bottom (next / prev will be enough)
This version of an app should handle some basic functionalities like spinning the network from the UI, and getting the network basic config data (ports, num of blocks, last block, peers etc).
Basic Blockexplorer functionalities so that users can browse deploys and emitted blocks as well as see basic accounts information in the app.
User can;
Install the app through the installer
Control (start / stop / reset) the network from the UI
Browse network configuration
Download node operators keys
Implemented build-in event store where you can browse all passed events (Events tab)
Implemented Deploys view (listing all of the deploys with filtering for WASM ones or Session code)
Filtering in every view
Possibility to dump the data to csv / JSON format
DoD:
based on README.md install app and check if it is working.
to make sure it works predictable on evert platform. Please test the most current version from casper-node repo
the node most likely will run in nctl dockerized environment but this is TBD
They are stored in casper-node
utils/nctl/assets/net-1/faucet
so we need to make it accessible in lean-api
container
it should display address, balance, and associated keys
https://cspr.live/account/016cccccf326720353eba995dfdfc88224a90545f51c39337a829eb4e588131ec4
take a look at raw data here
to do this you will need to use js-sdk (there are dedicated methods to check balance if you know node-url and publicKey)
It can be blank Electron app but select starter, build it and check if it works correctly.
so lets assume that I have a few views that I can pass to WizardManager
component like this
<Wizard.Manager
steps={[Intro, BaseConfiguration, Summary]}
/>
@CommonDrum - this can be similar to cached events in event stream.
We can filter events that are DeployProcessed
and add similar endpoint cache/deploys/:nodeNumber
which will return all deploy events
More details will be provided soon (I'll prepare Figma board with examples from GANACHE)
Create filtering system for logs page.
or do we want to build our own? Discuss this with Roman and decide - in fact this will be just a few screens (you can check Ganache and you will see how the whole app behaves and what we need)
So we can display data like here
Address
Balance
in CSPR (1CSPR is 1000000000 motes - API should always return string with motes)
GET accounts/
and GET accounts/:number
(the second one needs to return private keys associated with this accounts)Example:
https://cspr.live/account/0202ed20f3a93b5386bc41b6945722b2bd4250c48f5fa0632adf546e2f3ff6f4ddee
And display data from endpoint #23
for Roman
we will select which data we want to show but it should be like here https://cspr.live/deploys
.
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.