Skip to content

feat(chain): Add Cheese Blockchain (NCH) EVM Chain Integration - #1636

Closed
cryptoexdevcheese wants to merge 2 commits into
swapkit:developfrom
cryptoexdevcheese:feat/add-cheese-blockchain
Closed

cryptoexdevcheese wants to merge 2 commits into
swapkit:developfrom
cryptoexdevcheese:feat/add-cheese-blockchain

Conversation

@cryptoexdevcheese

Copy link
Copy Markdown

Description

This PR integrates Cheese Blockchain (NCH) into SwapKit as a supported EVM chain.

Closes #1635

Changes

  • @swapkit/types: Added Chain.Cheese (CHEESE), ChainId.Cheese (20250), and CHEESEConfig to EVMChainConfigs and EVMChains.
  • @swapkit/helpers: Added Chain.Cheese to isGasAsset, getCommonAssetInfo (identifier CHEESE.NCH), and getAssetType.
  • @swapkit/toolboxes: Added CHEESEToolbox export, mapping to EVMToolboxes, and factory wiring in getEvmToolbox.

Chain Specifications

  • Chain Name: Cheese Blockchain
  • Chain ID: 20250 (0x4F1A)
  • Native Currency: NCH (18 decimals)
  • RPC URL: https://cheeseblockchain.com/rpc
  • Explorer: https://cheeseblockchain.com/explorer
  • Website: https://cheeseblockchain.com
  • Contact: cryptoexdevcheese@gmail.com

@cryptoexdevcheese

Copy link
Copy Markdown
Author

Hi @towanTG @0xepicode @ice-chillios,

Following up on this PR for Cheese Blockchain (NCH) EVM integration:

  • Added a changeset file (.changeset/add-cheese-blockchain.md) for @swapkit/types, @swapkit/helpers, and @swapkit/toolboxes.
  • Normalized chainIdHex to lowercase (0x4f1a) in packages/types/src/chains/evm.ts to match all other EVM configs.

Note regarding the build-lint-test check failure:
The current pull_request_target configuration in .github/workflows/pr-test.yml uses actions/checkout@v4 with ref: ${{ github.head_ref }} without specifying the fork repository (repository: ${{ github.event.pull_request.head.repo.full_name }}). This causes Git to search for the branch in origin (swapkit/SwapKit) instead of the fork, which fails across all fork PRs after 7 seconds with branch could not be found.

All files have been verified against SwapKit's EVM architecture. Whenever you have a chance, could you please review the PR and approve the workflow run?

Thank you!

@GiMa-SwapKit

Copy link
Copy Markdown

Hi @cryptoexdevcheese, at this stage, we only integrate chains that are requested by integrators and have sufficient demand, besides that a chain need to have liquidity on one of our liquidity partners.

Thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(chain): Add Cheese Blockchain (NCH) EVM Chain Integration

2 participants