Giter Site home page Giter Site logo

mrwangio / cryptogift Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vittominacori/cryptogift

0.0 0.0 0.0 5.01 MB

An ERC721 token and Crowdsale to buy and give away an Ethereum based Collectible Gift

Home Page: https://vittominacori.github.io/cryptogift

License: MIT License

JavaScript 69.77% Solidity 21.57% Shell 5.55% HTML 3.11%

cryptogift's Introduction

CryptoGift

Build Status Coverage Status

An ERC721 NFT Token and Marketplace to buy and give away an Ethereum based Collectible Gift.

Gift has:

  • sender: who is sending the gift
  • receiver: who is receiving the gift
  • message: a message for the receiver
  • amount: the value of ETH sent to the receiver
  • style: a number representing the message style
  • date: the date after which the gift is visible

Code created using Open Zeppelin and Truffle Framework.

DAPP Source

Discover DApp source here.

Installation

Install truffle.

npm install -g truffle      // Version 4.1.14+ required.

Install dependencies

npm install

Linter

Use Solium

npm run lint:sol

Use ESLint

npm run lint:js

Use both and fix

npm run lint:fix

Compile and test the contracts.

Open the Truffle console

truffle develop

Compile

compile 

Test

test

Run server

Run the liteserver development server.

npm run dev

Optional

Install the truffle-flattener

npm install -g truffle-flattener

Usage

truffle-flattener contracts/token/CryptoGiftToken.sol >> dist/CryptoGiftToken.sol
truffle-flattener contracts/marketplace/CryptoGiftMarketplace.sol >> dist/CryptoGiftMarketplace.sol

License

Code released under the MIT License.

cryptogift's People

Contributors

vittominacori avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.