Skip to content

MosaicFun/hackathon-permissionless-regenscore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Regenscore: Get NFT's based on Passport score (Permissionless II hackathon contribution)

Regenscore (website) is a platform where you can measure your regen score and unlock airdrops for creating value. We do this by aggregating open data, measuring positive actions on a network, platform, or protocol, and create incentives for people who level up and unlock crypto rewards.

We believe crypto should be a win win game where all participants can grow and thrive. We are inspired by projects like Gitcoin and builders like Kevin Owocki, and aim to help the ecosystem grow in alignment with the values of regen cryptoeconomics.

Rewards are programmable. Incentives can be financial or social. The goal is to encourage regenerative actions that incentivize people to contribute to the ecosystem in meaningful ways, earning rewards along the way.

The Regenscore alpha product uses Gitcoin Passport onchain data to calculate a person's regen score and unlocks rewards with a variety of criteria requirements. Signing in with your crypto wallet calculates your regen score and shows you which airdrops you are eligible to claim, and the actions needed to unlock the rewards for which you are not yet eligible.

We have deployed our rewards contract on Coreum using smart tokens and are working on Scroll to show the power of interoperable and dynamic rewards.

Future versions of Regenscore will make use of different reward types including soulbound tokens, and fungible tokens. All to further align crypto economic incentives between valuable web3 products and the people who use them.

This application is made in the 24-hour Permissionless II hackathon and submitted to the following challenges:

  • Gitcoin BEST USE OF ONCHAIN PASSPORTS
  • Coreum SMART TOKEN USAGE IN A DECENTRALIZED APPLICATION
  • Scroll DEPLOY YOUR SMART CONTRACT ON SCROLL

A basic smart contract for a token has been deployed to Scroll (to fulfill another challange) at contract address 0x4b66f712019163e9f73974fe3f9764c88066d28a

1) Set up the web-app

Copy all the files to a server with APACHE/NGINX running PHP.

2) Setting up Coreum

  1. Place a testnet mnemonic with funds in folder coreum-nft-minter file main.go on line 26, and run the Go application.

  2. Browse the following pages once to issue the NFT smart token classes:

The application will mint the NFT smart tokens through an API: http://localhost:8080/mintnft?classSymbol=REGEN1&nftID=NFT0001&recipientAddress=TESTNET_ADDRESS. Please note that NFT0001 should be replaced with a counter and TESTNET_ADDRESS with the recipient address. These smart tokens use the token features burning, freezing and disable sending.

Example of these issuances and mints: address testcore18zduv6tgq7z0l0g5q672sxx24av9e978d2aucc

Gitcoin Passport data

For the metrics on the homepage, we used the Gitcoin Passport API in order to scrape score and stamp data from all addresses with an Gitcoin Passport on-chain attestation. See folder gitcoin-data-collector. Please note that this has a bias to more advanced used users (as they would benefit from on-chain stamps). Additional data is sourced from supermodularxyz' grants-etl

About

Simple frontend to claim NFT for permissionless NFT Drop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages