: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 year ago
build/contracts Added "Neo" get function for coupon 1 year ago
contracts Edits to documentation, clearing test contracts 1 year ago
deployments More changes inspired by LGTM 1 year ago
docs Minor correction to formal docs 1 year 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 2 years ago
flattened Our move over to the module is a succes!!! 1 year 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 :( 2 years ago
scripts More documentation, another attempt; seems to be working...? 2 years ago
test The operation went smoothly! Will deploy to attempt to squeeze into React Dashboard... 1 year ago
.gitattributes Adding .gitattributes file for Solidity recognition 2 years ago
.gitignore Updating with sample-config.js file to easily swap values in and utilize 1 year ago
.travis.yml Modified .travis.yml to run the coverage script even on failure 2 years ago
LICENSE Create LICENSE 2 years ago
README.md Adding LICENSE badge to README.md 1 year ago
package-lock.json Merge pull request #2 from Luiserebii/dependabot/npm_and_yarn/handlebars-4.1.2 1 year ago
package.json Moving deployment dependency from internal files to module 1 year ago
truffle-config.js More changes inspired by LGTM 1 year ago


Hydro Snowflake - Marketplace Coupons

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


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


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.