Fixing the API_URL that is used for integration tests (the URL recently changed)
Better display of numbers in the "Address card" on the STX address page
Show totals that are calculated on the API server, instead of duplicating some logic and math
Show "Token grants" if this investor was an app miner in the 2019 hard fork, where they got tokens with no vesting
The "Available Balance" now uses a new calculated number instead of the balance that the Core API provides
Notes for reviewers
This is a mostly straightforward next.js server. All data is fetched from the API server, and the responsibility of this app is strictly UI, with some light utilities for things like formatting numbers and dates.
Install dependencies with yarn. Run the app with yarn dev.
By default, the app points to the staging API server, to make front-end dev easier. You may wish to use this at first, if you're waiting on seeding your DB on the API. Eventually, to point your local app to the local API, you can create a .env file with only one line:
API_URL=http://localhost:4000
You'll have to restart your server to apply the change.
This PR contains front-end changes related to this milestone:
https://app.zenhub.com/workspaces/blockstack-engineering-582a2234b399ebbf18315399/board?milestones=Q4-%20Explorer%20Sprint%201%23&filterLogic=any&repos=180429576,56251702&showEstimates=false&showPipelineDescriptions=false
Notes for reviewers
This is a mostly straightforward next.js server. All data is fetched from the API server, and the responsibility of this app is strictly UI, with some light utilities for things like formatting numbers and dates.
Install dependencies with
yarn
. Run the app withyarn dev
.By default, the app points to the staging API server, to make front-end dev easier. You may wish to use this at first, if you're waiting on seeding your DB on the API. Eventually, to point your local app to the local API, you can create a
.env
file with only one line:You'll have to restart your server to apply the change.