Files
explorer-monorepo/docs/LINK_TOKEN_DEPLOYMENT_SUCCESS.md

4.2 KiB

LINK Token Deployment Success

Date: 2025-12-24
ChainID: 138
RPC: http://192.168.11.250:8545
Status: DEPLOYED AND VERIFIED


Deployment Details

Contract Information

  • Address: 0xb7721dD53A8c629d9f1Ba31a5819AFe250002b03
  • Name: Chainlink Token
  • Symbol: LINK
  • Decimals: 18
  • Type: ERC20 (MockLinkToken implementation)

Deployment Transaction

  • Deployer: 0x4A666F96fC8764181194447A7dFdb7d471b301C8
  • Gas Price: 20 gwei (20000000000 wei)
  • Method: forge script with --via-ir
  • Status: Confirmed on-chain

Initial Supply

  • Total Supply: 1,000,000 LINK
  • Minted To: Deployer address
  • Balance: 1,000,000 LINK available for:
    • CCIP fee payments
    • Bridge contract funding
    • Testing and development

Verification

On-Chain Verification

# Check contract code
cast code 0xb7721dD53A8c629d9f1Ba31a5819AFe250002b03 \
  --rpc-url http://192.168.11.250:8545

# Get token name
cast call 0xb7721dD53A8c629d9f1Ba31a5819AFe250002b03 \
  "name()(string)" \
  --rpc-url http://192.168.11.250:8545

# Get token symbol
cast call 0xb7721dD53A8c629d9f1Ba31a5819AFe250002b03 \
  "symbol()(string)" \
  --rpc-url http://192.168.11.250:8545

# Check deployer balance
cast call 0xb7721dD53A8c629d9f1Ba31a5819AFe250002b03 \
  "balanceOf(address)(uint256)" \
  0x4A666F96fC8764181194447A7dFdb7d471b301C8 \
  --rpc-url http://192.168.11.250:8545

Result: Contract verified on-chain (3,778 bytes of code)


Configuration Updates

Completed

  1. .env file

    • LINK_TOKEN=0xb7721dD53A8c629d9f1Ba31a5819AFe250002b03
    • Ready for use in all scripts and configurations
  2. Token Lists (Next Step)

    • Update token-lists/lists/dbis-138.tokenlist.json
    • Update token-list.json
  3. Database Migration (Next Step)

    • Update 0009_add_link_token.up.sql with deployed address
    • Run migration to add token to database

Usage

# Transfer 10 LINK to bridge contract
cast send 0xb7721dD53A8c629d9f1Ba31a5819AFe250002b03 \
  "transfer(address,uint256)" \
  <BRIDGE_ADDRESS> \
  10000000000000000000 \
  --rpc-url http://192.168.11.250:8545 \
  --private-key $PRIVATE_KEY \
  --legacy
# Approve CCIP Router to spend LINK
cast send 0xb7721dD53A8c629d9f1Ba31a5819AFe250002b03 \
  "approve(address,uint256)" \
  <CCIP_ROUTER_ADDRESS> \
  1000000000000000000000 \
  --rpc-url http://192.168.11.250:8545 \
  --private-key $PRIVATE_KEY \
  --legacy

Next Steps

1. Fund Bridge Contracts

Transfer LINK tokens to bridge contracts for CCIP fees:

# WETH9 Bridge: 10 LINK
cast send 0xb7721dD53A8c629d9f1Ba31a5819AFe250002b03 \
  "transfer(address,uint256)" \
  <WETH9_BRIDGE_ADDRESS> \
  10000000000000000000 \
  --rpc-url http://192.168.11.250:8545 \
  --private-key $PRIVATE_KEY \
  --legacy

# WETH10 Bridge: 10 LINK
cast send 0xb7721dD53A8c629d9f1Ba31a5819AFe250002b03 \
  "transfer(address,uint256)" \
  <WETH10_BRIDGE_ADDRESS> \
  10000000000000000000 \
  --rpc-url http://192.168.11.250:8545 \
  --private-key $PRIVATE_KEY \
  --legacy

2. Update Token Lists

Add LINK token to token lists:

{
  "chainId": 138,
  "address": "0xb7721dD53A8c629d9f1Ba31a5819AFe250002b03",
  "name": "Chainlink Token",
  "symbol": "LINK",
  "decimals": 18,
  "logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0x514910771AF9Ca656af840dff83E8264EcF986CA/logo.png"
}

3. Update Database

Run migration to add LINK token to database:

psql -U explorer -d explorer \
  -f backend/database/migrations/0009_add_link_token.up.sql

Deployment Logs

  • Transaction Log: /home/intlc/projects/smom-dbis-138/broadcast/DeployMockLinkToken.s.sol/138/run-latest.json
  • Cache: /home/intlc/projects/smom-dbis-138/cache/DeployMockLinkToken.s.sol/138/run-latest.json

Summary

LINK Token successfully deployed to ChainID 138

  • Contract address: 0xb7721dD53A8c629d9f1Ba31a5819AFe250002b03
  • 1,000,000 LINK minted to deployer
  • Ready for CCIP fee payments and bridge funding
  • Configuration updated in .env

Status: Ready for use in CCIP operations and bridge contracts.