{"id":22412114,"url":"https://github.com/ohmysol/ethereum-foundation-tech-explainer","last_synced_at":"2026-01-07T17:07:06.812Z","repository":{"id":265933856,"uuid":"896650709","full_name":"ohMySol/ethereum-foundation-tech-explainer","owner":"ohMySol","description":"This repository stores my answer with explanation of a tech topic I selected for my Ethereum Foundation internship application. ","archived":false,"fork":false,"pushed_at":"2024-12-01T15:52:50.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-03T12:14:40.437Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ohMySol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-30T23:39:20.000Z","updated_at":"2024-12-01T22:42:36.000Z","dependencies_parsed_at":"2024-12-01T16:52:39.227Z","dependency_job_id":null,"html_url":"https://github.com/ohMySol/ethereum-foundation-tech-explainer","commit_stats":null,"previous_names":["ohmysol/ethereum-foundation-tech-explainer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohMySol%2Fethereum-foundation-tech-explainer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohMySol%2Fethereum-foundation-tech-explainer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohMySol%2Fethereum-foundation-tech-explainer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohMySol%2Fethereum-foundation-tech-explainer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ohMySol","download_url":"https://codeload.github.com/ohMySol/ethereum-foundation-tech-explainer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246126697,"owners_count":20727594,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-05T13:54:29.568Z","updated_at":"2026-01-07T17:07:06.806Z","avatar_url":"https://github.com/ohMySol.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# CCIP(cross chain interoperability protocol)\n\n## What is this?\nCCIP - is a decentralised alternative to centralised bridges, and it solves an interoperability problem(blockchains are isolated networks and they cannot communicate natively).\nThis technology allows us to send a cross chain transactions to transfer tokens, messages or even create a programmable token transfers and wrap together value(tokens) with instructions(data/message) on what the receiving smart contract should do with those tokens on the destination chain.\n\n## What we can transfer via CCIP?\n1. Arbitrary data(in bytes). We can encode a function call on a source chain and execute this call on a destination chain.\n2. Tokens.\n3. Both tokens and messages together.\n\n## How does this work?\n1. **Message Creation:** The sender creates an `EVM2AnyMessage` structure containing the destination chain, data, tokens, fees, and gas limit. If tokens are included, the sender approves the Router contract to spend them.\n2. **Message Submission:** The sender calls `Router.ccipSend()` with the destination chain selector. The Router validates the message and transfers tokens to the appropriate token pool if needed.\n3. **Routing:** The Router forwards the message to the `OnRamp` contract for the destination chain. The OnRamp validates the message, emits an event, and returns a message ID. This event triggers the DON network to process the message.\n4. **Message Finalization:** Committing DON nodes verify and finalize messages, storing their Merkle roots in the `CommitStore`. The Risk Management Network ensures messages are authentic and secure.\n5. **Batching and Reporting:** Executing DON nodes monitor the `CommitStore`, batch finalized messages with Merkle proofs, and transmit a consensus report to the `OffRamp` contract on the destination chain.\n6. **Execution:** The OffRamp verifies messages, checks rate limits, and processes token transfers. If the receiver supports the correct interface, the OffRamp calls `ccipReceive()` to enable the receiver to handle the message, data, and tokens, potentially transferring them to the end recipient.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohmysol%2Fethereum-foundation-tech-explainer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fohmysol%2Fethereum-foundation-tech-explainer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohmysol%2Fethereum-foundation-tech-explainer/lists"}