Skip to content

Stay up to date with latest crypto news, make frens, and earn special perks by contributing.

License

Notifications You must be signed in to change notification settings

lakchote/amplifrens

Repository files navigation

AmpliFrens

Tests coverage contributions welcome

Keep up with the latest crypto news, make frens and prove your value to others (employers, DAOs, anons).

AmpliFrens helps you in 4 ways:

  • It gives you a decentralized reputation system to show off your general crypto knowledge (every day the author of the most upvoted contribution receives a soulbound token contributing to his status)
  • With profiles, you can make yourself known by sharing important news.
  • With statuses, you can meet people who are as deep in the crypto rabbit hole as you are.
  • With news categories, you can stay updated on the news that matter to you.

How it works

Every day, people can share crypto news and vote on the best contributions.

After 24 hours, the author of the best contribution receives a Soulbound token. This token proves his value and crypto knowledge thanks to the blockchain.

By gaining more and more Soulbound tokens, one can level up to a new status that will give them exclusive perks.

There are 15 NFTs to reward the most important people for the AmpliFrens community. These NFTs will give you access to a private discord group.

Features

Coverage

100% of the smart contracts are covered by tests.

To check code coverage run the command:

yarn coverage

Architecture

The project uses composition over inheritance.

Under the hood, it implements the Facade design pattern to:

  • hide project complexity
  • minimise tight coupling
  • ease subsystem access

Deployments

Project is deployed on:

Install

  1. Install dependencies

yarn

  1. Compile smart contracts

yarn compile

  1. Run tests

yarn hardhat-local yarn test

The Graph

Prerequisites

  1. Launch Docker daemon

  2. Generate AssemblyScript for subgraph

    yarn graph-codegen

Steps

To use The Graph use the following steps:

  1. Launch Hardhat node yarn hardhat-local

  2. Launch The Graph yarn graph-local

  3. Deploy The Graph locally yarn graph-local-deploy

  4. Access subgraph UI http://127.0.0.1:8000/subgraphs/name/amplifrens/

NFTs

NFTs are deployed on IPFS:

Room of improvements

  • Use meta transactions to have a gasless experience for the user
  • Use access roles in the future (example: to elect moderators voted by the community)

About

Stay up to date with latest crypto news, make frens, and earn special perks by contributing.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published