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 (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 | Lets creators accept tokens for off-chain promotion services. | 0x89e74F963e506D6921FF33cB75b53b963D7218bE | 0x446aC2A937b7ef299402D97a9132CD2ce7Ff73b1 |
PointsSBT | Soulbound tokens to reward early users | 0xE19FF0aCF99fc4598003d34E8DF7b828849B9F48 | 0x53D523F98dFd0B4b8ADd9306D345d6e709AD6b18 |
-
Install packages:
npm install
-
Compile:
npm run compile
-
Run tests:
npm run test
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
-
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