Goliath Slingshot
Official Decentralized Exchange
Goliath Slingshot is the official constant product-based Automated Market Maker (AMM) decentralized exchange (DEX) for the Goliath Network.
Access Slingshot: https://slingshot.goliath.net/
Overview
Slingshot is a Uniswap V2-like constant product DEX implementing the formula (x * y = k), enabling trustless token swaps directly on the Goliath blockchain. Users can:
Swap tokens instantly without order books or counterparties
Provide liquidity to earn trading fees from swap transactions
Create trading pairs for new tokens in the ecosystem
Supported Tokens
Slingshot supports the following official ERC20 tokens on Goliath Testnet:
WXCN (Wrapped XCN)
0xec6Cd1441201e36F7289f0B2729a97d091AcB5b7
8
Verified
ETH
0x9d318b851a6AF920D467bC5dC9882b5DFD36D65e
18
Submitted
BTC
0xF568bE1D688353d2813810aA6DaF1cB1dCe38D7E
8
Verified
USDC
0xEf2B9f754405f52c80B5A67656f14672a00d23b4
6
Submitted
XAUX (Onyx Gold)
0xEC3507BAF55C241e44036a94Cb9c02b15A78E863
18
Submitted
XAGX (Onyx Silver)
0x820037622659fF123a01bB94A720854C8A7609C0
18
Submitted
Get Test Tokens: ETH and USDC test tokens can be obtained from the Goliath Faucet Bot on Telegram.
How It Works
Constant Product Formula
Slingshot uses the constant product market maker model:
Where:
x= reserve of token Ay= reserve of token Bk= constant product (invariant)
This formula ensures that the product of reserves remains constant after every trade, automatically determining prices based on supply and demand.
Trading Fees
A 0.3% fee is charged on all swaps:
0.25% goes to liquidity providers
0.05% reserved for protocol development
Liquidity Provision
Liquidity providers (LPs) deposit equal values of two tokens into a pool and receive LP tokens representing their share. LPs earn proportional trading fees from all swaps in their pool.
Getting Started
1. Connect Your Wallet
Visit slingshot.goliath.net and connect a Web3 wallet (MetaMask recommended) configured for Goliath Testnet.
2. Get Test Tokens
Obtain testnet XCN from the Goliath Faucet Bot to pay for gas fees.
3. Swap Tokens
Select the tokens you want to swap, enter the amount, and confirm the transaction in your wallet.
4. Add Liquidity
Navigate to the Pool section, select a token pair, and deposit equal values of both tokens to start earning fees.
Cross-Chain Bridge
Slingshot includes a built-in bridge for transferring assets between Ethereum Sepolia testnet and Goliath Testnet.
Access the Bridge: https://slingshot.goliath.net/#/bridge
Supported Bridge Assets
ETH
✅
✅
Live
USDC
🔜
🔜
Coming Soon
BTC
🔜
🔜
Coming Soon
User Guide: How to Bridge
Prerequisites
Before using the bridge, ensure you have:
MetaMask or another Web3 wallet installed
Sepolia ETH for bridging (get from Sepolia Faucet)
XCN tokens on Goliath for gas fees (get from Goliath Faucet Bot)
Both networks configured in your wallet
Network Configuration
Add these networks to your wallet:
Goliath Testnet
8901
https://rpc.testnet.goliath.net
XCN
Sepolia
11155111
https://ethereum-sepolia-rpc.publicnode.com
ETH
Bridging from Sepolia to Goliath (Deposit)
This transfers native ETH from Sepolia and mints wrapped ETH (ERC-20) on Goliath.
Step-by-Step:
Visit the Bridge
Connect Your Wallet
Click "Connect Wallet"
Select MetaMask (or your preferred wallet)
Ensure you're connected to Sepolia network
Configure the Transfer
Source: Sepolia (should auto-detect)
Destination: Goliath Testnet
Token: ETH
Enter the amount you want to bridge
Initiate the Bridge
Click "Bridge"
Review the transaction details in the confirmation modal
Confirm the transaction in your wallet
Wait for Confirmation
The bridge requires 10 block confirmations on Sepolia (~2 minutes)
A status modal will show your transaction progress
Once confirmed, the relayer will mint ETH on Goliath
Receive Your Tokens
Switch your wallet to Goliath Testnet
Add the ETH token to MetaMask:
0x9d318b851a6AF920D467bC5dC9882b5DFD36D65eYour bridged ETH will appear in your balance
Bridging from Goliath to Sepolia (Withdraw)
This burns wrapped ETH on Goliath and releases native ETH on Sepolia.
Step-by-Step:
Connect to Goliath Testnet
Ensure your wallet is connected to Goliath Testnet (Chain ID: 8901)
Approve Token Spending (first time only)
If this is your first bridge from Goliath, you'll need to approve the bridge contract
Click "Approve" and confirm the transaction
Wait for the approval transaction to complete
Configure the Transfer
Source: Goliath Testnet
Destination: Sepolia
Token: ETH
Enter the amount to bridge
Burn and Bridge
Click "Bridge"
The bridge contract will burn your ETH tokens on Goliath
Confirm the transaction in your wallet
Wait for Confirmation
The bridge requires 6 block confirmations on Goliath (~12 seconds)
The relayer will then release ETH on Sepolia
Receive Native ETH
Switch to Sepolia network
Your native ETH will be available in your wallet
Transaction Status
Track your bridge transactions in real-time:
Pending
Transaction submitted, waiting for inclusion
Confirming
Transaction included, waiting for confirmations
Processing
Relayer processing the cross-chain transfer
Completed
Transfer successful on destination chain
Failed
Transaction failed (funds are safe)
Processing Time: Typical bridge transfers complete in 2-5 minutes. Network congestion may cause delays.
Developer Guide: Bridge Integration
Bridge Architecture
The Goliath Bridge uses a lock-and-mint / burn-and-release mechanism:
Contract Addresses
Bridge (Sepolia)
Sepolia
0xA9FD64B5095d626F5A3A67e6DB7FB766345F8092
Yes
Bridge (Goliath)
Goliath
0xB4139A33Ae5DfaB4fE0339b20C254b00179a951d
Yes
Bridged ETH
Goliath
0x9d318b851a6AF920D467bC5dC9882b5DFD36D65e
Yes
Bridge Contract ABIs
Sepolia Bridge (Deposit)
Goliath Bridge (Withdraw)
Integration Examples
Example 1: Bridge ETH from Sepolia to Goliath
Example 2: Bridge ETH from Goliath to Sepolia
Example 3: Monitor Bridge Events
Bridge Status API
Monitor bridge operations programmatically using the status API:
/status/{depositId}
GET
Get status of a deposit operation
/status/{withdrawId}
GET
Get status of a withdraw operation
/history/{address}
GET
Get bridge history for an address
Confirmation Requirements
Sepolia → Goliath
10 blocks
~2 minutes
Goliath → Sepolia
6 blocks
~12 seconds
Token Addresses Reference
ETH
Native (no address)
0x9d318b851a6AF920D467bC5dC9882b5DFD36D65e
USDC
0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238
0xEf2B9f754405f52c80B5A67656f14672a00d23b4
Security Note: Always verify contract addresses before interacting. Never approve unlimited spending on mainnet deployments.
Developer Reference
Core Contract Addresses
The following contracts power Goliath Slingshot on Testnet:
WXCN
0xec6Cd1441201e36F7289f0B2729a97d091AcB5b7
Yes
SlingshotFactory
0x698Ba06870312aEd129fC2e48dc3d002d981aB8E
Yes
SlingshotRouter
0xC47483b7eE4728c7006001f372bFbd8519210654
Yes
Multicall3
0x9a64319f37A02DbFab53f45fddB13Ea6744Fb8C2
Yes
Integration Example
Factory Interface
Multicall for Batch Queries
Use the Multicall contract to batch multiple read calls into a single RPC request:
Resources
Slingshot App: https://slingshot.goliath.net/
Block Explorer: https://testnet.explorer.goliath.net/
Testnet Faucet: Goliath Faucet Bot
Last updated