Skip to content

💧❄️ Smart Contract built on top of Hydro Snowflake for the following bounty: https://github.com/HydroBlockchain/hcdp/issues/255. v1.0.0 completed!

License

Notifications You must be signed in to change notification settings

Luiserebii/HydroSnowflake-Marketplace-Coupons

Repository files navigation

Hydro Snowflake - Marketplace Coupons

GitHub package.json version GitHub Build Status Coverage Status Language grade: JavaScript 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.

About

💧❄️ Smart Contract built on top of Hydro Snowflake for the following bounty: https://github.com/HydroBlockchain/hcdp/issues/255. v1.0.0 completed!

Resources

License

Stars

Watchers

Forks

Packages

No packages published