:droplet::snowflake: Smart Contract built on top of Hydro Snowflake for the following bounty: https://github.com/HydroBlockchain/hcdp/issues/255 . Currently a work-in-progress!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Luiserebii 3fc95c5b2c
Adding LICENSE badge to README.md
1 month ago
build/contracts Added "Neo" get function for coupon 4 months ago
contracts Edits to documentation, clearing test contracts 4 months ago
deployments More changes inspired by LGTM 2 months ago
docs Minor correction to formal docs 4 months ago
enum_mappings Very clean... everything passing as expected, just needed to make a small tweak of a typo in enums.js. One last thing; figure out the uint[] passing/returning 7 months ago
flattened Our move over to the module is a succes!!! 4 months ago
migrations Commented out unused var in CouponMarketplaceResolver.sol in an attempt to silence it. Forced version change to 0.5.7 and re-compiled to see if it would help; all attempts at verification are failing :( 6 months ago
scripts More documentation, another attempt; seems to be working...? 6 months ago
test The operation went smoothly! Will deploy to attempt to squeeze into React Dashboard... 4 months ago
.gitattributes Adding .gitattributes file for Solidity recognition 7 months ago
.gitignore Updating with sample-config.js file to easily swap values in and utilize 4 months ago
.travis.yml Modified .travis.yml to run the coverage script even on failure 7 months ago
LICENSE Create LICENSE 7 months ago
README.md Adding LICENSE badge to README.md 1 month ago
package-lock.json Merge pull request #2 from Luiserebii/dependabot/npm_and_yarn/handlebars-4.1.2 2 months ago
package.json Moving deployment dependency from internal files to module 4 months ago
truffle-config.js More changes inspired by LGTM 2 months ago

README.md

Hydro Snowflake - Marketplace Coupons

GitHub package.json version GitHub Build Status Coverage Status Total alerts Known Vulnerabilities

Introduction

Snowflake is an ERC-1484 Provider that provides on-/off-chain identity management. For more details, see the whitepaper.

This project is essentially a chain of smart contracts built on top of the Hydro Snowflake protocol, aiming to provide a marketplace platform for sellers to launch their own stores and sell to users. Coupons are also featured, allowing users to use globally defined coupons guaranteed to expire within a certain time period, or assigning coupons per Snowflake EIN, manageable via multiple addresses.

The marketplace itself is a Snowflake Resolver contract, which interacts with a Snowflake Via contract to handle the transaction (and thus coupon discount) logic.

This project is still under development, and dramatic changes will likely occur quickly. The full scope of the prospective completed project can be viewed here

Try the Snowflake Dashboard demo front-end (requires Metamask)!

Testing With Truffle

  • This folder has a suite of tests created through Truffle.
  • To run these tests:
    • Clone this repo: git clone https://github.com/Luiserebii/HydroSnowflake-Marketplace-Coupons
    • Run npm install
    • Build dependencies with npm run build
    • Spin up a development blockchain: npm run chain
    • In another terminal tab, run the test suite: npm test

Mirror

A mirror of this repository is available at: https://serebii.io:2501/Luiserebii/HydroSnowflake-Marketplace-Coupons

Copyright & License

© The Hydrogen Technology Corporation 2018, under the GNU General Public License v3.0.