Skip to content

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

Notifications You must be signed in to change notification settings

noodles-fun/contracts

Repository files navigation

Noodles.Fun — Feed Your KOLs! 🍜

Noodles.Fun transforms Twitter (X) accounts into tradeable tokens powered by bonding curves. These tokens aren’t just collectibles—they’re a new way to book promotions, like shoutouts or pinned tweets, while creating deeper engagement with Key Opinion Leaders (KOLs).

How It Works

  1. Every Twitter (X) Account Has Its Own Token. Each profile is linked to a bonding curve token, setting its own market dynamics.
  2. Buy & Sell Instantly. No liquidity pools, no order books—just seamless trading via bonding curves.
  3. Use Tokens for Promotions. Token holders can pay creators directly for promotional tweets. Creators can also accept ETH payments and allocate part of their earnings to buy back and burn their tokens, adding an extra layer of value.

Upgradeable Contracts

Addresses

Contract Description Mainnet address (Proxy) Testnet address (Proxy)
VisibilityCredits Implements a bonding curve where token price = A × supply² + B × supply + basePrice. Price grows as supply grows 0x0DA6Bfd5d50edb31AF14C3A7820d28dB475Ec97D 0x25aaca9fD684CD710BB87bd8f87A2a9F20e5a269
VisibilityServices (VisibilityCredits + ETH payments) Lets creators accept tokens for off-chain promotion services. 0x89e74F963e506D6921FF33cB75b53b963D7218bE 0x446aC2A937b7ef299402D97a9132CD2ce7Ff73b1
PointsSBT Soulbound tokens to reward early users 0xE19FF0aCF99fc4598003d34E8DF7b828849B9F48 0x53D523F98dFd0B4b8ADd9306D345d6e709AD6b18

Audit

Development

Setup

  1. Install packages:

    npm install
  2. Compile:

    npm run compile
  3. Run tests:

    npm run test

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

Tests

Run local node

  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 local node:

    ./target/release/anvil-zksync
  4. Or run forked node:

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

    npm run test-localhost

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published