GithubHelp home page GithubHelp logo

icedocumentmanagement's Introduction

Snowflake Dashboard

Build Status

This is a demo frontend for the Snowflake identity protocol written in React. It utilizes the web3-react library. For more information on Snowflake, please refer to the white paper.

Visit the live dashboard.

Adding Your Resolver To the Dashboard

  1. Create a smart contract on Rinkeby that appropriately inherits from the canonical SnowflakeResolver contract. For examples, see here. In order to be accepted to the dashboard, your smart contract source code must be verified on Etherscan.
  2. Note the checksummed address of your smart contract and make a folder with this name in src/components/resolvers/Rinkeby.
  3. Create an index.js file in the folder.
  4. This file should export the following exports:
    • default: A React Component wrapped in React.lazy. This component will receive a user's EIN in the props as ein.
      • export default lazy(() => import('./ResolverComponent')).
    • extraDataComponent: An optional React Component wrapped in React.lazy. This component will receive a user's EIN in the props as ein and a function sendExtraData. This function should be called with the bytes argument to be passed to your resolver on sign-up.
      • export default lazy(() => import('./ExtraDataComponent')).
    • ABI: The ABI of your contract.
    • logo: A 256x256 png logo for your resolver.
    • requiredAllowance: An optional HYDRO amount a user must set as their initial allowance for your resolver on sign-up.

Hints

icedocumentmanagement's People

Contributors

andyhydro avatar deomaius avatar jzafrap avatar

Watchers

James Cloos 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.