Skip to content

Commit

Permalink
Merge pull request #185 from Emurgo/ruslan/cexplorer
Browse files Browse the repository at this point in the history
adapools -> cexplorer
  • Loading branch information
vsubhuman authored Aug 23, 2022
2 parents 22bba8a + 738004d commit 13f38ad
Show file tree
Hide file tree
Showing 18 changed files with 87 additions and 6,326 deletions.
2 changes: 1 addition & 1 deletion .env.development
Original file line number Diff line number Diff line change
@@ -1 +1 @@
REACT_APP_METATAG_CSP=default-src 'self' http://localhost:3000 https://kit-free.fontawesome.com https://*.adapools.org https://fonts.gstatic.com/s/rubik/; object-src 'none'; style-src 'unsafe-inline' https://fonts.googleapis.com/ https://kit-free.fontawesome.com/; script-src 'self'; connect-src https://*.adapools.org ws:
REACT_APP_METATAG_CSP=default-src 'self' http://localhost:3000 https://kit-free.fontawesome.com https://*.cexplorer.io https://fonts.gstatic.com/s/rubik/; object-src 'none'; style-src 'unsafe-inline' https://fonts.googleapis.com/ https://kit-free.fontawesome.com/; script-src 'self'; connect-src https://*.cexplorer.io ws:
2 changes: 1 addition & 1 deletion .env.production
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
REACT_APP_METATAG_CSP=default-src 'self' https://kit-free.fontawesome.com https://*.adapools.org https://fonts.gstatic.com/s/rubik/; object-src 'none'; style-src 'unsafe-inline' https://fonts.googleapis.com/ https://kit-free.fontawesome.com/; script-src 'self'; connect-src https://*.adapools.org
REACT_APP_METATAG_CSP=default-src 'self' https://kit-free.fontawesome.com https://*.cexplorer.io https://fonts.gstatic.com/s/rubik/; object-src 'none'; style-src 'unsafe-inline' https://fonts.googleapis.com/ https://kit-free.fontawesome.com/; script-src 'self'; connect-src https://*.cexplorer.io
INLINE_RUNTIME_CHUNK=false
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# AdaPools Yoroi Frontend
# Cexplorer Yoroi Frontend

This project wraps [AdaPools](https://adapools.org/) in a UI for usage in Yoroi.
This project wraps [Cexplorer](https://cexplorer.io/) in a UI for usage in Yoroi.

## Available Scripts

Expand Down Expand Up @@ -28,11 +28,11 @@ Array<{|
|}>
```

## Why not embed AdaPools directly instead of a wrapper
## Why not embed Cexplorer directly instead of a wrapper

- Allows us to match the look-and-feel of Yoroi
- Allows us to make any code change without waiting on AdaPools developers
- Reduces the amount of user information shared with AdaPools
- Allows us to make any code change without waiting on Cexplorer developers
- Reduces the amount of user information shared with Cexplorer

## How do we keep this secure?

Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
http-equiv="Content-Security-Policy"
content="%REACT_APP_METATAG_CSP%"
>
<title>Ada Pools</title>
<title>Cardano Staking Pools</title>
<link href="https://fonts.googleapis.com/css2?family=Rubik&display=swap" rel="stylesheet">
</head>
<body>
Expand Down
1 change: 1 addition & 0 deletions src/API/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export type SocialMediaHandles = {|

export type Pool = {|
+id: string, // hash
+id_bech: string, // hash
+db_ticker: ?string, // may not have a ticker
+db_name: ?string, // may not have a name
+pool_pic: ?string, // may not have a pic
Expand Down
Loading

0 comments on commit 13f38ad

Please sign in to comment.