https://github.com/chainrand/chainrand-web
Chainrand contract + web frontend + web backend
https://github.com/chainrand/chainrand-web
alchemy chainlink chainlink-hackathon-2021 chainlink-vrf dapp ethereum go-ethereum infura ipfs mysql polygon solidity
Last synced: 7 months ago
JSON representation
Chainrand contract + web frontend + web backend
- Host: GitHub
- URL: https://github.com/chainrand/chainrand-web
- Owner: chainrand
- Created: 2021-11-29T02:00:16.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-02T14:47:20.000Z (almost 4 years ago)
- Last Synced: 2025-01-25T05:32:42.366Z (8 months ago)
- Topics: alchemy, chainlink, chainlink-hackathon-2021, chainlink-vrf, dapp, ethereum, go-ethereum, infura, ipfs, mysql, polygon, solidity
- Language: Go
- Homepage: https://chainrand.io
- Size: 983 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chainrand-web
This repo contains the implementation of Chainrand.
[https://chainrand.io](https://chainrand.io)
# Smart Contract
Contains functionality to tie a Chainlink VRF to off-chain code in an immutable manner.
- Functions to mint and update the Chainrand NFT.
- Methods for bulk querying of token data to minimize RPC calls.
- Efficient on-chain SVG art for NFTs without a custom image.
**Files**
- `contract`
# Frontend
Single-Page-App based frontend.
- Just upload and serve from any webserver.
**Files**
- `css`
- `js`
- `assets`
- `fonts`
- `index.html`
- `favicon.ico`
# BackendGolang based backend for quick querying of the Chainrand NFT based on token name or minter.
The search function serves several purposes:
- Discouraging spam
- At Chainrand, we do not have a paid name reservation system to ensure maximum affordability. However, this invites potential spam. We do not want a situation where search results are flooded with fake collections.
- A solution is to provide a search based on a veracity score.
- If two tokens share the exact same name, the one that is verified will be ranked higher.
- If both tokens are not verified, then the one that paid a higher nominal fee will be ranked higher.- Future monetization avenue
- The search ranking system can also provide monetization in the future to cover server fees.
- Cherry-picking detection
- If there are many tokens with the similar names that did not pay a decent nominal fee, it is likely that the minter(s) are trying to do cherry-picking.
**Files**
- `api`
# License
MIT