# Claim Code <> Raid Guild ⚔️
<br />

<br />
## Proposal
Our goal is to build a great user application for the Claim Code website. We will split this project in three parts. An initial phase as detailed in the deliverables section of this proposal, an optional Admin dashboard phase, and lastly a styling phase.
The goal of this first Raid is to complete an initial user experience for NFT holders that wish to claim shoes or any other products claim code has to offer. This phase focuses primarily on userflow and user functionality and disregards any emphasis on design and styling.
## Deliverables from Raid Guild
**User Experience**
* A user visits a landing page. The landing page will be a custom page. They will be presented with a section of the site that has a single form field that asks the user to input the ID of their NFT.
* The system will check either a database or Airtable to see if that ID has been claimed or is in a pending status.
**Claim Check**
* Once signed in the system will check to see if the user owns the specific NFT or an NFT from that collection.
* If the ID has been claimed, they will get a message saying ID claimed.
* If the ID has not been claimed, they are taken to a page where the user will be asked to sign in with the metamask. Should be able to select ethereum, polygon or xdai.
* If the ID is pending, then contact infomation is provided.
**If They Are Validated**
A form will be presented, that will have the NFT id as a non editble code and allow the user to enter, first name, last name, physical address fields, city state, email and phone number.
The user would also see a drop down field that represents the size of the item they are paying. It could be shoe sizes or tshirts sizes or nothing at all.
When the user submits the form it should be entered into the database as:
| token id | first | last | address | claim status |
| -------- | -------- | -------- | -------- | -------- |
| 5151 | John | Smith | miami | pending |
and set to pending.
A receipt summery would then be shown, with the content submitted, There would also be some other content such as a thank you, some details of the process, contact info and link to go back to the site.
**Admin Update**
The admin of the site needs to be aware that a physical product has been claimed. Once a user claims a product with their NFT, the admin should be informed by email and ideally also see the database / Airtable updated for the specific item and be marked as claimed.
## Raid Cost / Budget
| Activity | Amount | Time |
| ---------------- | ------------- | ------------- |
| User Functionality Phase | 4,000 wxDAI | 40 hours
| _Cleric & Project Management_ | _15%_ | |
| _RaidGuild Overhead_ | _10%_ | |
| **Total** | **5,000 wxDAI**| **7-10 days**|
## Escrow Payment
Verified payment of **5,000 wxDAI** into Raid Guild Escrow on xDai will initiate the project.
https://smartescrow.raidguild.org/
https://handbook.raidguild.org/docs/interacting-with-escrow
We will provide Raid ID upon written confirmation you’d like to proceed.
## In case of dispute
If you lose confidence in the Raid Party at any time, you may `Lock` the remaining funds in escrow.
If you do not release funds upon completion of deliverables, the Raid Party may `Lock` the remaining funds in escrow.
In both cases, the `Lock` triggers the arbitration provider (i.e., LexDAO) to review the dispute. Based on their review, the arbitration provider will decide which party should receive what amount of funds, and will send a transaction to the escrow contract that will transfer the appropriate amounts to each party.
We sincerely hope this won't be the case, but all parties are protected nevertheless.
**We look forward to Raiding, please reach out with any questions or concerns!**
<br />
