Skip to content

Commit

Permalink
add deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
masonchain committed Oct 30, 2023
1 parent 703cb4a commit 0f02f04
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 2 deletions.
44 changes: 44 additions & 0 deletions frontend/src/components/Dashboard/Content/DashboardContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,50 @@ const DashboardContent = ({ children }) => {
<div className="dashboard__content" style={{
marginInline: "20px"
}}>
<div style={{
height: "min-content",
width: "100%",
border: "2px solid #ccc",
borderRadius: "10px",
marginBottom: "20px"
}}>
<div style={{
padding: "20px",
borderRadius: "10px 10px 0 0",
textAlign: "center",
}}>
<h3 style={{ color: "red" }}><strong>As of November 1, 2023, Flipside Crypto no longer hosts the Badger application for the Badger protocol.</strong></h3>
<p>IPFS hosting of the badge images and metadata will be deprecated shortly thereafter.</p>
<p>The code for the application and protocol are open source and may be utilized according to respective software licenses.</p>
<p>
<a href="https://github.com/FlipsideCrypto/badger"
target="_blank"
rel="noopener noreferrer"
style={{ color: "#404040" }}
>
Badger App & Protocol Repository Github
</a>
</p>
<p>
<a href="https://polygonscan.com/address/0x218b3c623ffb9c5e4dbb9142e6ca6f6559f1c2d6"
target="_blank"
rel="noopener noreferrer"
style={{ color: "#404040" }}
>
V1 Factory Deployment on Polygonscan
</a>
</p>
<p>
<a href="https://docs.trybadger.com/"
target="_blank"
rel="noopener noreferrer"
style={{ color: "#404040" }}
>
Documentation
</a>
</p>
</div>
</div>
{children}
</div>
)
Expand Down
5 changes: 3 additions & 2 deletions frontend/src/components/Wallet/WalletWrapper.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import { configureChains, createClient, WagmiConfig, defaultChains, chain } from 'wagmi';
import { configureChains, createClient, WagmiConfig } from 'wagmi';
import { polygon, localhost } from 'wagmi/chains';
import { alchemyProvider } from 'wagmi/providers/alchemy';
import { publicProvider } from 'wagmi/providers/public';
import { getDefaultWallets, RainbowKitProvider } from '@rainbow-me/rainbowkit';

const WalletWrapper = ({ children }) => {
const { chains, provider } = configureChains(
[...defaultChains, chain.polygon, chain.localhost],
[polygon, localhost],
[
alchemyProvider({ apiKey: process.env.REACT_APP_ALCHEMY_API_KEY }),
publicProvider()
Expand Down

0 comments on commit 0f02f04

Please sign in to comment.