Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ git clone https://github.com/openguild-labs/open-danang-hackcamp-2025.git
Go to **Participant Registration** section and register to be the workshop participants. Add the below to the list, replace any placeholder with your personal information.

```
| 🦄 | Name | Github username | Your current occupation |
| 🦄 | Vinh Anh | vinhanhhaduc | Student |
```

- Step 5: `Commit` your code and push to the forked Github repository
Expand Down
21 changes: 16 additions & 5 deletions challenge-3-xcm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,36 @@ A cross-chain application leverages XCM to perform operations across multiple bl
## Hackers can choose one of the following features:

- [ ] Mint NFT on System Chain and transfer NFT to Parachain
- [ ] Swap Token on Hydration.
- [x] Swap Token on Hydration.
- [ ] Stake to the Relaychain Nomination Pools directly on Asset Hub
- [ ] Vote OpenGov proposals with tokens on Asset Hub.


## Implementation Requirements

- [ ] Build XCM cross-chain application specific logic
- [ ] Build application UI that allows users to interact with the underlying logic
- [x] Build XCM cross-chain application specific logic
- [x] Build application UI that allows users to interact with the underlying logic



## Submission Requirements
- [ ] Build XCM cross-chain application
- [x] Build XCM cross-chain application

## Submission

## Web

Link: https://xcm-swap.vercel.app/

### Demo XCM Swap from different parachains using HydrationDex

Video: https://youtu.be/Dvt837UKDpc

[![XCM Hydration Swap](https://img.youtube.com/vi/Dvt837UKDpc/maxresdefault.jpg)](https://youtu.be/Dvt837UKDpc)

## 👉 Resource for Development

- [XCM Tools](https://github.com/paraspell)
- [XCM SDK](https://github.com/moonbeam-foundation/xcm-sdk)



Binary file added challenge-3-xcm/frontend/.DS_Store
Binary file not shown.
4 changes: 0 additions & 4 deletions challenge-3-xcm/frontend/.gitignore

This file was deleted.

86 changes: 0 additions & 86 deletions challenge-3-xcm/frontend/CONTRIBUTING.md

This file was deleted.

21 changes: 0 additions & 21 deletions challenge-3-xcm/frontend/LICENSE

This file was deleted.

76 changes: 23 additions & 53 deletions challenge-3-xcm/frontend/README.md
Original file line number Diff line number Diff line change
@@ -1,73 +1,43 @@
# DOT UI Kit

An open-source, up-to-date, opinionated UI scaffolding kit for the Polkadot ecosystem (starting with Asset Hub). The technical stack is:
## Challenge details

- [Next.js](https://nextjs.org/)
- [Tailwind CSS](https://tailwindcss.com/)
- [Lucide icons](https://lucide.dev/)
- [ShadCN UI](https://ui.shadcn.com/)
- [RainbowKit](https://www.rainbowkit.com/)
- [Wagmi](https://wagmi.sh/)
- [Viem](https://viem.sh/)
- [Jotai](https://jotai.org/)
- [Tanstack React Query](https://tanstack.com/query)
- [Vaul](https://vaul.fun/)
- [Zod](https://zod.dev/)
- [React Hook Form](https://react-hook-form.com/)
A cross-chain application leverages XCM to perform operations across multiple blockchains within the Polkadot ecosystem, enabling seamless interoperability between different parachains.

## Features

- [x] Multi-chain support
- [x] In-dapp-wallet support
- [x] WalletConnect support
- [x] Collection of web3 components to quickly build your frontend or use as a reference
- [x] React hooks for various onchain interactions with Wagmi
## Hackers can choose one of the following features:

## Requirements
- [ ] Mint NFT on System Chain and transfer NFT to Parachain
- [x] Swap Token on Hydration.
- [ ] Stake to the Relaychain Nomination Pools directly on Asset Hub
- [ ] Vote OpenGov proposals with tokens on Asset Hub.

Before you begin, you need to install the following tools:

- [Node (current LTS version)](https://nodejs.org/en/download/)
- [npm (latest version or > v10)](https://www.npmjs.com/get-npm)
- [Git](https://git-scm.com/downloads)
## Implementation Requirements

## Getting started
- [x] Build XCM cross-chain application specific logic
- [x] Build application UI that allows users to interact with the underlying logic

```
git clone https://github.com/buildstationorg/dotui.git
cd dotui
npm install
```

## Running the project

```
npm run dev
```
## Submission Requirements
- [x] Build XCM cross-chain application

Default port is 3002. You can change the port in the `package.json` file.
## Submission

```json
"scripts": {
"dev": "next dev -p 3002", // Change the port here to -p <port>
"build": "next build",
"start": "next start",
"lint": "next lint"
},
```
## Web

## Building the project
Link: https://xcm-swap.vercel.app/

```
npm run build
```
### Demo XCM Swap from different parachains using HydrationDex

## Documentation
Video: https://youtu.be/Dvt837UKDpc

Please see [`docs`](docs) for more information and guidelines for contributing to DotUI.
[![XCM Hydration Swap](https://img.youtube.com/vi/Dvt837UKDpc/maxresdefault.jpg)](https://youtu.be/Dvt837UKDpc)

## 👉 Resource for Development

- [XCM Tools](https://github.com/paraspell)
- [XCM SDK](https://github.com/moonbeam-foundation/xcm-sdk)

## Contributing to DotUI

We welcome contributions to DotUI!

Please see [`CONTRIBUTING.md`](CONTRIBUTING.md) for more information and guidelines for contributing to DotUI.
17 changes: 0 additions & 17 deletions challenge-3-xcm/frontend/app/balance/loading.tsx

This file was deleted.

15 changes: 0 additions & 15 deletions challenge-3-xcm/frontend/app/balance/page.tsx

This file was deleted.

Binary file removed challenge-3-xcm/frontend/app/fonts/GeistMonoVF.woff
Binary file not shown.
Binary file removed challenge-3-xcm/frontend/app/fonts/GeistVF.woff
Binary file not shown.
81 changes: 0 additions & 81 deletions challenge-3-xcm/frontend/app/globals.css

This file was deleted.

Loading