Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
- name: Check out repository code
uses: actions/checkout@v4

- name: Install Node 16.x
- name: Install Node 22.x
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 22

- name: Install Dependencies
run: yarn install
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
22.14.0
19 changes: 15 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
# CCTP Sample App
# [DEPRECATED] CCTP Sample App

**This project is no longer actively maintained or supported by [Circle].**

This repository is kept for historical and archival purposes only. No further updates, bug fixes, or new features will be implemented by the original maintainers.

**Reason for Deprecation:** The sample code shared in the repository is outdated. Our focus has shifted to providing the latest and greatest of the CCTP experience through our [developer documentation portal](https://developers.circle.com/cctp/).

**Recommended Alternative:** If you are looking for similar functionality, please consider using the [CCTP QuickStart](https://developers.circle.com/cctp/transfer-usdc-on-testnet-from-ethereum-to-avalanche).

# Summary

A sample app used to demonstrate CCTP step by step capabilities on testnet. The app currently supports Ethereum Sepolia, Avalanche Fuji C-Chain, and Arbitrum Sepolia testnets.

Expand Down Expand Up @@ -49,7 +59,7 @@ Launch the test runner in interactive watch mode
yarn test
```

Run tests with test converage.
Run tests with test coverage.

```
yarn test:unit:coverage
Expand All @@ -76,7 +86,8 @@ yarn build
To deploy, install and run `serve`

```
yarn global add serve serve -s build
yarn global add serve
serve -s build
```

See [deployment docs](https://facebook.github.io/create-react-app/docs/deployment) for more information.
Expand All @@ -93,7 +104,7 @@ We have two config files which will be need to be updated to add a new chain sup

2. Add the addresses for the new chain

- In `./src/constants/addresses.ts`, we need to add the contract addresses for the new chain to support. For `CHAIN_IDS_TO_USDC_ADDRESSES`, `CHAIN_IDS_TO_TOKEN_MESSENGER_ADDRESSES` and `CHAIN_IDS_TO_MESSAGE_TRANSMITTER_ADDRESSES`, add the coressponding addresses for the new chain. This will allow the hooks to interact with the relevant addresses
- In `./src/constants/addresses.ts`, we need to add the contract addresses for the new chain to support. For `CHAIN_IDS_TO_USDC_ADDRESSES`, `CHAIN_IDS_TO_TOKEN_MESSENGER_ADDRESSES` and `CHAIN_IDS_TO_MESSAGE_TRANSMITTER_ADDRESSES`, add the corresponding addresses for the new chain. This will allow the hooks to interact with the relevant addresses

3. Add the logo for the new chain

Expand Down
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
"@web3-react/core": "^6.1.9",
"@web3-react/injected-connector": "^6.0.7",
"@web3-react/types": "^6.0.7",
"axios": "^0.27.2",
"axios": "^0.30.1",
"corepack": "^0.34.0",
"ethers": "^5.7.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down Expand Up @@ -95,5 +96,9 @@
"last 1 firefox version",
"last 1 safari version"
]
}
},
"resolutions": {
"path-to-regexp": "0.1.12"
},
"packageManager": "[email protected]+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
Loading
Loading