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!
- Every Twitter Account Has a Token: Each token represents a unique bonding curve for a Twitter (X) account.
- Trade Instantly: Use a bonding curve to buy or sell tokens. No need for liquidity pools or order books.
- Spend Tokens for Promotions: The X account owner can accept tokens as payment for services, such as tweets or pinned posts.
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 |
-
Install packages:
npm install
-
Compile:
npm run compile
Ensure you setup your .env
file correctly. You can initialize it from the provided .env.example
file:
cp .env_example .env
npm run deploy abstractTestnet
npm run test
-
Install Rust (if not already installed):
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
-
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
-
Run forked node:
./target/release/anvil-zksync fork --fork-url https://api.testnet.abs.xyz --fork-block-number 3558125
-
In another terminal, run tests:
npm run test-fork-localhost