- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
Build a decentralized crowdfunding app on Conflux eSpace Testnet — from smart contract to frontend.
In this video, I walk through CFXCrowd (SimpleCrowdfund): contribute CFX before the deadline, withdraw when the goal is met, or refund if it isn’t. You’ll see the full UI demo plus how the frontend talks to the contract using ethers.js.
🔹 What you’ll learn
• Deploy SimpleCrowdfund on Conflux eSpace Testnet (chain ID 71)
• Connect MetaMask and interact from a Next.js frontend
• Read on-chain data: goal, total raised, deadline, creator
• Call contribute(), withdraw(), and refund() from the app
• How hooks/use-crowdfund.ts + lib/contract.ts connect UI ↔ blockchain
🔹 Tech stack
• Solidity — SimpleCrowdfund smart contract
• Next.js + TypeScript — frontend
• ethers.js — wallet & contract calls
• Conflux eSpace Testnet — deployment network
🔹 Smart contract flow
1. Creator deploys with goal (CFX) + duration (minutes)
2. Users contribute before deadline
3. After deadline: creator withdraws if goal reached, else contributors refund
⚠️ Constructor tip: use _durationInMinutes (e.g. 60 = 1 hour), NOT a Unix timestamp.
🔗 Repo / resources
github.com/Vikash-8090-Yadav/cfxcrowd
⏱️ Timestamps
0:00 — Intro
0:10 — Live demo: connect wallet & contribute
1:05 — Campaign ended & withdraw
2:00 — Frontend ↔ contract connection (use-crowdfund.ts, lib/contract.ts)
2:50 — Smart contract recap (cfxcrowd.sol)
5:00 — Wrap-up
#Conflux #CFX #Web3 #Solidity #NextJS #DeFi #Crowdfunding #Blockchain #Testnet #dApp
Видео Build a decentralized crowdfunding app on Conflux eSpace Testnet — from smart contract to frontend. канала Vikash Kumar Yadav
🔹 What you’ll learn
• Deploy SimpleCrowdfund on Conflux eSpace Testnet (chain ID 71)
• Connect MetaMask and interact from a Next.js frontend
• Read on-chain data: goal, total raised, deadline, creator
• Call contribute(), withdraw(), and refund() from the app
• How hooks/use-crowdfund.ts + lib/contract.ts connect UI ↔ blockchain
🔹 Tech stack
• Solidity — SimpleCrowdfund smart contract
• Next.js + TypeScript — frontend
• ethers.js — wallet & contract calls
• Conflux eSpace Testnet — deployment network
🔹 Smart contract flow
1. Creator deploys with goal (CFX) + duration (minutes)
2. Users contribute before deadline
3. After deadline: creator withdraws if goal reached, else contributors refund
⚠️ Constructor tip: use _durationInMinutes (e.g. 60 = 1 hour), NOT a Unix timestamp.
🔗 Repo / resources
github.com/Vikash-8090-Yadav/cfxcrowd
⏱️ Timestamps
0:00 — Intro
0:10 — Live demo: connect wallet & contribute
1:05 — Campaign ended & withdraw
2:00 — Frontend ↔ contract connection (use-crowdfund.ts, lib/contract.ts)
2:50 — Smart contract recap (cfxcrowd.sol)
5:00 — Wrap-up
#Conflux #CFX #Web3 #Solidity #NextJS #DeFi #Crowdfunding #Blockchain #Testnet #dApp
Видео Build a decentralized crowdfunding app on Conflux eSpace Testnet — from smart contract to frontend. канала Vikash Kumar Yadav
Комментарии отсутствуют
Информация о видео
Вчера, 3:07:06
00:04:11
Другие видео канала



















![My Deposit Hasn't Arrived [ByBit] After 40 hours](https://i.ytimg.com/vi/qY6YtLCqzWk/default.jpg)

