Surprise your friends & support charity
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
cryptoxmas-contracts
docs
public
scripts
src
.eslintrc
.gitignore
LICENSE
README.md
dapp-config.json
npm-debug.log
package.json
yarn.lock

README.md

Crypto Xmas

Send Christmas Nifty tokens & Support Venezuelans

Send NFT Christmas Cards, and a Ether Christmas Gift to your friends and family via a simple shareable link. Using the Volca's "claim link" technology, your friend only needs to click the link, and does not need to have an Ethereum wallet in advance.

Send

Donations managed decentralized with Giveth

Proceeds from the NFT sales, excluding gas costs, are donated via the decentralized charity platform Giveth to a transparent charity campaign distributing food to Venezuelans in need.

How it works

  1. Head to cryptoxmas.xyz
  2. Pick and buy a NFT Christmas card.
  3. The NFT fee is transferred to our charity campaign
  4. Add Ether & a message to the card if you want
  5. We create a link, containing ETH & NFT
  6. Your friend opens the link and claims the ETH & NFT

Any token which is not claimed, can be claimed back by the sender at any time.

Not happy with your card? All NFT tokens can be traded on OpenSea.

Non-custodian escrow via eth2.io

Sending flow

Send

  1. Sender buys Christmas Card (NFT) by sending ETH to an escrow Smart Contract. (Optionally sender can add more ETH for receiver)
  2. Escrow Smart Contract transfers NFT from seller to the escrow
  3. Smart Contract sends small amount (0.01 eth) to ephemeral account, rest of NFT price to Giveth campaign as a donation and leaves ETH above the NFT price for receiver to claim in escrow.
  4. Sender shares claim link, which contains private key for ephemeral account, with receiver

Receiving flow

Receive

  1. Receiver submits claim transaction with the private key in the claim link.
  2. The escrow Smart Contract transfers the Christmas Card (NFT) and optional ether to the receiver’s address

Video demo

Deploy locally

To deploy web app locally clone this repo and run:

npm i && npm run start

This will install libs and open web app at localhost:3000.
By default web app is configured to work with our smart-contracts currently deployed on Ropsten.

If you want to play with smart-contracts - see here.
If you want to configure web app to use your smart-contracts, please update dapp-config.json accordingly.

Join us

Pick an issue or join us in https://t.me/CryptoXmas