Visit the live dashboard.
Adding Your Resolver To the Dashboard
- Create a smart contract on Rinkeby that appropriately inherits from the canonical
SnowflakeResolvercontract. For examples, see here. In order to be accepted to the dashboard, your smart contract source code must be verified on Etherscan.
- Note the checksummed address of your smart contract and make a folder with this name in src/components/resolvers/Rinkeby.
- Create an
index.jsfile in the folder.
- 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
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
einand a function
sendExtraData. This function should be called with the
bytesargument 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.
- Check out the existing Status Resolver for best practices patterns.