Skip to content

Feed your KOLs with Noodles.Fun - Spend ceators tokens to promote on socials

Notifications You must be signed in to change notification settings

siborg-ads/noodles-contracts

Repository files navigation

Noodles.Fun — Feed Your KOLs! 🍜

Noodles.Fun turns Twitter (X) accounts into special bonding curve tokens. Trade these tokens and use them to pay for promotion services on X, such as shoutouts or pinned tweets. A fun way to support and engage with KOLs!

How It Works

  1. Every Twitter Account Has a Token: Each token represents a unique bonding curve for a Twitter (X) account.
  2. Trade Instantly: Use a bonding curve to buy or sell tokens. No need for liquidity pools or order books.
  3. Spend Tokens for Promotions: The X account owner can accept tokens as payment for services, such as tweets or pinned posts.

Contracts

Contract Description Mainnet address Testnet address
VisibilityCredits Implements a bonding curve where token price = A × supply² + B × supply + basePrice. Price grows as supply grows Coming Soon 0x1B644f436A3F8eA250b95577A8cDFD020615c187
VisibilityServices Lets creators accept tokens for off-chain promotion services. Coming Soon 0x77aEb1C5c5e2d29b0d9278748C7E70178d1Ec1f0

Development

Setup

  1. Install packages:

    npm install
  2. Compile:

    npm run compile

Deploy

Configuration

Ensure you setup your .env file correctly. You can initialize it from the provided .env.example file:

cp .env_example .env

Deploy to the Abstract Testnet

npm run deploy abstractTestnet

Testing

npm run test

Local Fork Testing

  1. Install Rust (if not already installed):

    curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  2. Build the local node:

    git clone https://github.com/matter-labs/era-test-node
    cd era-test-node
    make fetch-contracts && make build-contracts
    make clean && make build-contracts && make rust-build

    If you see any build errors about aws-lc-sys, you might need:

    sudo apt remove gcc-9 && sudo apt install clang
  3. Run forked node:

    ./target/release/anvil-zksync fork --fork-url https://api.testnet.abs.xyz --fork-block-number 3558125
  4. In another terminal, run tests:

    npm run test-fork-localhost

About

Feed your KOLs with Noodles.Fun - Spend ceators tokens to promote on socials

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published