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!
Solidity JavaScript Perl Shell
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.
build/contracts
contracts
deployments
docs
enum_mappings
flattened
migrations
scripts
test
.gitattributes
.gitignore
.travis.yml
LICENSE
README.md
package-lock.json
package.json
truffle-config.js

README.md

Hydro Snowflake - Marketplace Coupons

GitHub package.json version 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.

You can’t perform that action at this time.