Skip to content

Commit 3196925

Browse files
Yunusabdul38martinvibes
andauthored
Dapp2.0 (#63)
* feat: dapp setup * feat: dmsans font * chore: wallet connector * feat: group dapp ui * feat: add fundraising components and SVG assets * feat: ui * updates * fix * feat: paymesh group ui * feat: group integration v1 * feat: integrating fundraise * feat: ui * update on fund raise * feat: Add dedicated group details page, including member management, actions, statistics, and supporting services. * feat: Implement PDF download functionality for group transaction history, including new types and PDF generation utilities. * feat: enhance fundraising experience with campaign completion UI and payment handling * feat: Refactor history table to remove members detail and adjust column widths * feat: add loading and empty states to fundraising components, integrate QR code generation, and update package dependencies * feat: Refactor transactions page with react-query and pagination, introduce new group analytics and wallet guard components, and remove crowd-fund and waitlist features. * feat: Add admin dashboard with various components for managing crowdfunding and group functionalities, including statistics, contract information, and action execution. * updates on transactions icons * updates * feat: Introduce active crowdfunding and user group cards to the overview page, along with a new image asset. * feat: Introduce `useFundraisingActions` and `useGroupAdminActions` hooks and update admin panel components to enable new administrative functionalities. * updates * feat: Implement new landing page components and dynamic navigation based on the current route. * feat: conditionally render different navigation bars based on the current route * feat: previous ui * refactor: move global max-width and horizontal padding to individual page containers. * refactor: move FormData interface definition inline from external import * feat: enhance landing page UI with new sections, updated styling, and social media icons, and enable anonymous donations * feat: part of last commit * feat: Integrate Framer Motion to add animations to various landing page components. * feat: add STARKNET coin SVG and update FaqSection to use it, removing grayscale effects. * updates on Ui * updates * feat: Remove commented-out paymaster transaction logic and `--turbopack` flag, and update `CallData` usage. * feat: Update contract ABI and test group flow * feat: implement admin access control by adding an `isAdmin` utility, protecting the admin page, and dynamically filtering navigation links. * feat: Add admin analytics dashboard with monthly and weekly charts and supporting data processing utilities. * refactor: consolidate loading state components into a single, reusable `Loading` component. * feat: display native USDC and STRK balances in user wallet and centralize contract address utilities. * feat: Refactor analytics page to fetch user-specific group data and enhance chart display with improved styling and tooltip formatting. * feat: Optimize transaction list data fetching by paginating group details and calculating token totals from group history. * feat: Refactor admin analytics API to use a unified `getVolume` endpoint and simplify data types. * add cursor pointer * updates * refactor: Update StatsSection to use `getVolume` API for disbursed amount calculation, filtering by specific sources and token types. * feat: Increase approve calldata amount to 4x ONE_STK. * deps: update Next.js to 15.4.10 --------- Co-authored-by: martinvibes <martinmachiebe21@gmail>
1 parent 4b54658 commit 3196925

File tree

148 files changed

+11592
-7368
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+11592
-7368
lines changed

contract/.tool-versions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
scarb 2.11.4
2-
starknet-foundry 0.44.0
1+
scarb 2.14.0
2+
starknet-foundry 0.54.0

contract/Scarb.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,15 +130,15 @@ checksum = "sha256:fd348b31c4a4407add33adc3c2b8f26dca71dbd7431faaf726168f37a91db
130130

131131
[[package]]
132132
name = "snforge_scarb_plugin"
133-
version = "0.44.0"
133+
version = "0.54.0"
134134
source = "registry+https://scarbs.xyz/"
135-
checksum = "sha256:ec8c7637b33392a53153c1e5b87a4617ddcb1981951b233ea043cad5136697e2"
135+
checksum = "sha256:78b76cec49430930468c35b91105be521b2e571b88a3407f91f0c00b3f9d3b44"
136136

137137
[[package]]
138138
name = "snforge_std"
139-
version = "0.44.0"
139+
version = "0.54.0"
140140
source = "registry+https://scarbs.xyz/"
141-
checksum = "sha256:d4affedfb90715b1ac417b915c0a63377ae6dd69432040e5d933130d65114702"
141+
checksum = "sha256:5eae9444e31efdb72431bda696c2cf4ea98ee1475796ba8a3eb50c7279838d7f"
142142
dependencies = [
143143
"snforge_scarb_plugin",
144144
]

contract/Scarb.toml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ edition = "2024_07"
66
# See more keys and their definitions at https://docs.swmansion.com/scarb/docs/reference/manifest.html
77

88
[dependencies]
9-
starknet = "2.11.4"
9+
starknet = "2.14.0"
1010
openzeppelin = "1.0.0"
1111

1212
[dev-dependencies]
13-
snforge_std = "0.44.0"
14-
assert_macros = "2.11.4"
13+
snforge_std = "0.54.0"
14+
assert_macros = "2.14.0"
1515

1616
[[target.starknet-contract]]
1717
sierra = true
@@ -51,3 +51,6 @@ allow-prebuilt-plugins = ["snforge_std"]
5151

5252
# [features] # Used for conditional compilation
5353
# enable_for_tests = [] # Feature name and list of other features that should be enabled with it
54+
55+
# 0x05fa7287292b2939e9f881f56d789d973ebc7ecb24e61cd44eed16f64156886b -- fundraising class hash 02-01-2026
56+
# 0x028a53221004142cc94764ccec9ecbcdf6d8057837bbab8eb57665b9ff50e479 -- autoshare class hash 17-12-2025

0 commit comments

Comments
 (0)