Skip to content

Commit

Permalink
updates to main and new identity subdomain
Browse files Browse the repository at this point in the history
Recent BitClout changes:

- new identity subdomain
- wallet migration
- Popper.js incorporated for tool tips
- fee logic and price changes
 


old
<                             return this.httpClient.get("https://bitcoinfees.earn.com/api/v1/fees/recommended").pipe(tC(this._handleError))
---
>                             return this.httpClient.get("https://api.blockchain.info/mempool/fees").pipe(tC(this._handleError)

new ^

The first returns response like:

https://bitcoinfees.earn.com/api/v1/fees/recommended
{"fastestFee":102,"halfHourFee":102,"hourFee":88}

price was based on fastestFee value.

like:
 null != e.fastestFee ? this.buyBitCloutFields.bitcoinTransactionFeeRateSatoshisPerKB = 3 * e.fastestFee * 1e3

New is like:

https://api.blockchain.info/mempool/fees
{"limits":{"min":93,"max":403},"regular":186,"priority":269}

price is based on priority value ^

like:
 null !=  e.priority ? this.buyBitCloutFields.bitcoinTransactionFeeRateSatoshisPerKB = 1.5 * e.priority * 1e3
  • Loading branch information
scottstirling committed Apr 23, 2021
1 parent de0f91a commit cb03871
Show file tree
Hide file tree
Showing 13 changed files with 198,386 additions and 103,565 deletions.
36 changes: 36 additions & 0 deletions identity/assets/app.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"name": "bitclout",
"short_name": "bitclout",
"description": "The crypto social network",
"icons": [
{
"src": "/img/logo-192.png",
"type": "image/png",
"sizes": "192x192",
"purpose": "maskable"
},
{
"src": "/img/logo-512.png",
"type": "image/png",
"sizes": "512x512",
"purpose": "maskable"
},
{
"src": "/img/logo-192.png",
"type": "image/png",
"sizes": "192x192",
"purpose": "any"
},
{
"src": "/img/logo-512.png",
"type": "image/png",
"sizes": "512x512",
"purpose": "any"
}
],
"start_url": "/?password=f1bf8c5158787b4f50b29a6072e27cd03df3a8d71ee62ff4d8c9f928ba2ed08f",
"scope": "/",
"display": "standalone",
"theme_color": "#182026",
"background_color": "#FFF"
}
7 changes: 7 additions & 0 deletions identity/assets/img/camelcase_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions identity/src/api.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions identity/src/raw-versions/styles.ecd68cdb9001a113ad77.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit cb03871

Please sign in to comment.