Skip to content

NearverseLabs/Amplify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

#Amplify

Amplify is a Social-Fi platform on ICP that enables projects and creators to boost engagement on their social media posts by rewarding interacting users with $ICP and select ICRC tokens. Version 1.0 currently amplifies X posts (Tweets), with plans to expand into additional Web2 and Web3 social media apps in future versions.

Features

  • Random Winner Selection: Utilizes ICP's on-chain randomness and Rust's rand library for fair and transparent winner selection.
  • ICRC2 Token Support: Ensures secure and efficient handling of token-based transactions.
  • Social Media Integration: Directly integrates with social media platforms via the Twitter API v2.0.

Technologies Used

ICP Smart Contracts

  • Rust

Frontend

  • TypeScript
  • React
  • TailwindCSS
  • Vite

Backend

  • TypeScript
  • PostgreSQL
  • Node.js
  • Adonis.js Framework

DevOps

  • Docker

Installation

  1. Clone the repository
git clone https://github.com/NearverseLabs/Amplify.git
  1. Navigate to the project directory
cd amplify
  1. Checkout
git checkout icp
  1. Install dependencies
yarn install

To learn more before you start working with amplify_sc_rust, see the following documentation available online:

If you want to start working on your project right away, you might want to try the following commands:

cd amplify/
dfx help
dfx canister --help

Running the project locally

If you want to test your project locally, you can use the following commands:

# Starts the replica, running in the background
dfx start --background

# Deploys your canisters to the replica and generates your candid interface
dfx deploy

Once the job completes, your application will be available at http://localhost:4943?canisterId={asset_canister_id}.

If you have made changes to your backend canister, you can generate a new candid interface with

npm run generate

Acknowledgments

  • Internet Computer (ICP) for blockchain infrastructure.
  • Twitter API v2.0 for enabling social media interactions.

Canister ID

  • ICP Canister ID: 3s6zm-3qaaa-aaaag-ak6eq-cai

How Amplify works

An Amplify campaign follows a simple sequence of events: Step 01: Creator creates a campaign by filling out a form, and paying sets of rewards ($ICP or select ICRC tokens) and a minor platform fee Step 02: Users log in to Amplify and participate in the ongoing campaigns (automatic interaction from Amplify UI) Step 03: Campaign ends & winner(s) are picked by on-chain raffle (if participants > winners set for the campaign) Step 04: Winning user(s) claim their $ICP or ICRC token rewards, which are credited directly to their wallets.

At the end of a campaign life cycle:

The creator/project gains engagement on their post and reaches the right target audience (ICP users). Users/participants can earn rewards for engaging in and winning campaigns.

Useful links

https://amplify-docs.nearverselabs.com/support-and-useful-links https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.io/?id=ggvur-6yaaa-aaaag-attxq-cai

About

Amplify Engage To Earn Platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors