Skip to content

Commit

Permalink
Merge branch 'main' into wallet-connection-info-alert-v2
Browse files Browse the repository at this point in the history
  • Loading branch information
kpyszkowski authored Dec 10, 2024
2 parents 8f4faff + 3f12711 commit 0760693
Show file tree
Hide file tree
Showing 66 changed files with 151 additions and 674 deletions.
1 change: 0 additions & 1 deletion dapp/.env
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ VITE_POSTHOG_API_HOST="https://us.i.posthog.com"
VITE_POSTHOG_API_KEY=""

# Feature flags
VITE_FEATURE_FLAG_GAMIFICATION_ENABLED="false"
VITE_FEATURE_FLAG_WITHDRAWALS_ENABLED="false"
VITE_FEATURE_FLAG_OKX_WALLET_ENABLED="false"
VITE_FEATURE_FLAG_XVERSE_WALLET_ENABLED="false"
Expand Down
6 changes: 3 additions & 3 deletions dapp/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Acre dApp

The application is integrate with OrangeKit and allows people to earn yield on their Bitcoin via yield farming on Ethereum.
The application is integrated with OrangeKit and allows people to earn yield on their Bitcoin via yield farming on Ethereum.

This project was bootstrapped with [Create Vite](https://github.com/vitejs/vite/tree/main/packages/create-vite).

To access the dApp in Ledger Live import manifest as described in the
To access the dApp in Ledger Live import the manifest as described in the
[Ledger Live Setup](#ledger-live-setup) section.

### Development
Expand All @@ -29,7 +29,7 @@ Install dependencies and start the dApp:

### Environmental variables

To make sure dApp is running correctly, include the following variables in `.env` file:
To make sure dApp is running correctly, include the following variables in the `.env` file:

```bash
VITE_TBTC_API_ENDPOINT=
Expand Down
2 changes: 1 addition & 1 deletion dapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@ledgerhq/wallet-api-acre-module": "0.1.0",
"@ledgerhq/wallet-api-client": "1.6.0",
"@orangekit/react": "1.0.0-beta.34",
"@orangekit/sign-in-with-wallet": "1.0.0-beta.6",
"@orangekit/sign-in-with-wallet": "1.0.0-beta.7",
"@reduxjs/toolkit": "^2.2.0",
"@rehooks/local-storage": "^2.4.5",
"@safe-global/safe-core-sdk-types": "^5.0.1",
Expand Down
17 changes: 7 additions & 10 deletions dapp/src/DApp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { AcreSdkProvider } from "./acre-react/contexts"
import GlobalStyles from "./components/GlobalStyles"
import {
DocsDrawerContextProvider,
SidebarContextProvider,
WalletConnectionAlertContextProvider,
} from "./contexts"
import { useInitApp } from "./hooks"
Expand Down Expand Up @@ -67,15 +66,13 @@ function DAppProviders() {
<QueryClientProvider client={queryClient}>
<AcreSdkProvider>
<DocsDrawerContextProvider>
<SidebarContextProvider>
<WalletConnectionAlertContextProvider>
<ReduxProvider store={store}>
<PostHogProvider>
<DApp />
</PostHogProvider>
</ReduxProvider>
</WalletConnectionAlertContextProvider>
</SidebarContextProvider>
<WalletConnectionAlertContextProvider>
<ReduxProvider store={store}>
<PostHogProvider>
<DApp />
</PostHogProvider>
</ReduxProvider>
</WalletConnectionAlertContextProvider>
</DocsDrawerContextProvider>
</AcreSdkProvider>
</QueryClientProvider>
Expand Down
16 changes: 0 additions & 16 deletions dapp/src/assets/icons/ArrowUpRight.tsx

This file was deleted.

13 changes: 0 additions & 13 deletions dapp/src/assets/icons/BoltFilled.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions dapp/src/assets/icons/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export * from "./ArrowUpRight"
export * from "./AcreLogo"
export * from "./Pause"
export { default as LoadingSpinnerSuccessIcon } from "./LoadingSpinnerSuccessIcon"
Expand All @@ -8,4 +7,3 @@ export * from "./MezoSignIcon"
export * from "./AcreSignIcon"
export * from "./BitcoinsStackErrorIcon"
export { default as MatsIcon } from "./MatsIcon"
export { default as BoltFilled } from "./BoltFilled"
60 changes: 0 additions & 60 deletions dapp/src/assets/images/benefits/bibos-beehive.svg

This file was deleted.

4 changes: 0 additions & 4 deletions dapp/src/assets/images/benefits/index.ts

This file was deleted.

Loading

0 comments on commit 0760693

Please sign in to comment.