{"id":46489517,"url":"https://github.com/oraidex/evm-entry-point","last_synced_at":"2026-03-06T10:15:54.045Z","repository":{"id":280737276,"uuid":"943003387","full_name":"oraidex/evm-entry-point","owner":"oraidex","description":"Contract and SDKs for EVM side to interact with oraiDEX","archived":false,"fork":false,"pushed_at":"2025-07-21T11:04:21.000Z","size":1154,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-21T19:45:22.702Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/oraidex.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,"zenodo":null}},"created_at":"2025-03-05T02:53:20.000Z","updated_at":"2025-07-21T11:02:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"37be704b-ce84-49ef-aad0-4731761ceccc","html_url":"https://github.com/oraidex/evm-entry-point","commit_stats":null,"previous_names":["oraidex/evm-entry-point"],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/oraidex/evm-entry-point","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oraidex%2Fevm-entry-point","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oraidex%2Fevm-entry-point/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oraidex%2Fevm-entry-point/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oraidex%2Fevm-entry-point/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oraidex","download_url":"https://codeload.github.com/oraidex/evm-entry-point/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oraidex%2Fevm-entry-point/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30171661,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T07:56:45.623Z","status":"ssl_error","status_checked_at":"2026-03-06T07:55:55.621Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-03-06T10:15:53.704Z","updated_at":"2026-03-06T10:15:54.014Z","avatar_url":"https://github.com/oraidex.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Oraichain EVM Entry Point\n\nA monorepo project that provides EVM compatibility for Oraichain's CosmWasm DApps, specifically designed for OraiDEX. This project enables Ethereum-compatible interactions with Oraichain's CosmWasm smart contracts through precompiled modules.\n\n## Project Structure\n\n```\n.\n├── packages/            # Core packages\n│   ├── contracts/       # Solidity smart contracts for EVM compatibility\n│   ├── sdk/             # JavaScript/TypeScript SDK for interacting with the contracts\n│   └── ui/              # UI components and widget for integration\n```\n\n## Packages\n\n### 1. Contracts (`packages/contracts`)\n\nThe contracts package provides Solidity smart contracts that serve as an EVM entry point to interact with CosmWasm contracts on Oraichain.\n\n**Key Features:**\n- **Bridging EVM and CosmWasm:** Enables EVM-compatible chains to interact with CosmWasm contracts through precompiled modules.\n- **Token Standards:** Implements various token standards for cross-chain compatibility:\n  - `ERC20Native`: ERC20 representation of Oraichain native tokens\n  - `CW20ERC20`: ERC20 interface for CW20 tokens on Oraichain\n  - `NativeERC20`: Maps ERC20 interface to native Oraichain assets\n- **Precompiled Interfaces:** Provides interfaces to Oraichain's precompiled modules:\n  - `IWasmd`: Interface for CosmWasm module interactions\n  - `IJson`: Helper for JSON parsing and manipulation\n  - `IAddr`: Address conversion between EVM and Cosmos formats\n  - `IBank`: Interface for bank module operations\n  - `IAuthz`: Interface for authorization module\n- **OraiDEX Integration:** Includes contracts for interacting with OraiDEX's pools and pairs\n\n### 2. SDK (`packages/sdk`)\n\nThe SDK package provides a TypeScript library for developers to interact with the EVM entry point contracts and OraiDEX functionality.\n\n**Key Features:**\n- **OSOR (Oraichain Smart Order Router):** Optimized routing for token swaps on OraiDEX\n- **API Client:** Simplified HTTP requests with built-in error handling\n- **CosmWasm Integration:** Built-in support for CosmWasm message formats\n- **Utilities:** Helper functions for common operations with Cosmos and EVM compatibility\n- **TypeScript Support:** Full TypeScript support with type definitions\n\n### 3. UI (`packages/ui`)\n\nThe UI package provides React components for integrating OraiDEX's swap functionality into any EVM-compatible dApp.\n\n**Key Features:**\n- **React Components:** Reusable UI components for OraiDEX integration\n- **Widget:** Standalone widget for token swapping\n- **RainbowKit Integration:** Wallet connection via RainbowKit\n- **Responsive Design:** Mobile-friendly components using modern UI libraries\n\n## Key Use Cases\n\n1. **Token Bridging:** Use ERC20 representations of Oraichain native tokens on EVM chains.\n2. **Cross-Chain DeFi:** Access OraiDEX's liquidity pools from EVM-compatible chains.\n3. **Unified Interface:** Build applications that work seamlessly across EVM and Cosmos ecosystems.\n4. **Developer Tools:** Leverage the SDK to build custom applications with OraiDEX integration.\n\n## Development\n\nThe project uses a modern monorepo setup with the following tools:\n- [pnpm](https://pnpm.io) as package manager\n- [Turborepo](https://turbo.build/repo) for monorepo management\n- [Changesets](https://github.com/changesets/changesets) for versioning and changelogs\n- [TypeScript](https://www.typescriptlang.org/) for all packages\n- [Hardhat](https://hardhat.org/) and [Foundry](https://getfoundry.sh/) for smart contract development\n\n## Getting Started\n\n### Installation\n\n```bash\npnpm install\n```\n\n### Build\n\n```bash\npnpm build\n```\n\n### Development\n\n```bash\npnpm dev:watch\n```\n\n### Testing\n\n```bash\npnpm test\n```\n\n## Contributing\n\nPlease refer to [CONTRIBUTING.md](docs/CONTRIBUTING.md) for details on our code of conduct and the process for submitting pull requests.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foraidex%2Fevm-entry-point","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foraidex%2Fevm-entry-point","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foraidex%2Fevm-entry-point/lists"}