{"id":18674121,"url":"https://github.com/nervosnetwork/force-bridge-ui","last_synced_at":"2025-04-12T01:55:30.434Z","repository":{"id":41646552,"uuid":"359487730","full_name":"nervosnetwork/force-bridge-ui","owner":"nervosnetwork","description":"Front-end of force bridge","archived":false,"fork":false,"pushed_at":"2022-12-23T06:53:26.000Z","size":715,"stargazers_count":6,"open_issues_count":4,"forks_count":9,"subscribers_count":8,"default_branch":"develop","last_synced_at":"2025-04-12T01:55:24.520Z","etag":null,"topics":["bridge","ethereum","react","web3"],"latest_commit_sha":null,"homepage":"https://forcebridge.com/","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/nervosnetwork.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}},"created_at":"2021-04-19T14:24:33.000Z","updated_at":"2023-12-01T03:19:52.000Z","dependencies_parsed_at":"2023-01-30T18:01:10.501Z","dependency_job_id":null,"html_url":"https://github.com/nervosnetwork/force-bridge-ui","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nervosnetwork%2Fforce-bridge-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nervosnetwork%2Fforce-bridge-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nervosnetwork%2Fforce-bridge-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nervosnetwork%2Fforce-bridge-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nervosnetwork","download_url":"https://codeload.github.com/nervosnetwork/force-bridge-ui/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248505867,"owners_count":21115354,"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":["bridge","ethereum","react","web3"],"created_at":"2024-11-07T09:17:35.443Z","updated_at":"2025-04-12T01:55:30.402Z","avatar_url":"https://github.com/nervosnetwork.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Force Bridge User Interface\n\n## Quick Start\n\n### Requirement\n\n- NodeJS 12+\n- yarn 1.x\n\n```\ngit clone path/to/the/force-bridge-ui\ncd force-bridge-ui\nyarn install\n# build commons libraries\nyarn build:lib\n# craco start\nyarn workspace @force-bridge/ui run start\n# build ui\ncd apps/ui\nyarn build\n# serve -s build\n```\n\n## Build the User Interface\n\n### Create .env\n\nCreate an `.env.local` at [apps/ui/](apps/ui) to declare required environment variables, the below env config shows how\nforce-bridge-ui works with Rinkeby network and Bsc network\n\n\u003cdetails\u003e\n  \u003csummary\u003eTestnet\u003c/summary\u003e\n\n```\n# Force-Bridge Ethereum Backend RPC\nREACT_APP_BRIDGE_RPC_URL=/api/force-bridge/api/v1\n# Force-Bridge Bsc Backend RPC\nREACT_APP_BRIDGE_BSC_RPC_URL=\n\n# CKB node RPC\nREACT_APP_CKB_RPC_URL=https://testnet.ckbapp.dev/rpc\n\n# 0: mainnet\n# 1: testnet\n# 2: devnet\nREACT_APP_CKB_CHAIN_ID=1\n\n# Nervos explorer for exploring transaction\nREACT_APP_TX_EXPLORER_NERVOS=https://explorer.nervos.org/aggron/transaction/\n# Ethereum explorer for exploring transaction\nREACT_APP_TX_EXPLORER_ETHEREUM=https://rinkeby.etherscan.io/tx/\n# Bsc explorer for exploring transaction\nREACT_APP_TX_EXPLORER_BSC=https://testnet.bscscan.com/tx/\n\n# Rinkeby\nREACT_APP_ETHEREUM_ENABLE_CHAIN_ID=4\nREACT_APP_ETHEREUM_ENABLE_CHAIN_NAME=Rinkeby\n\n# Bsc Testnet\nREACT_APP_BSC_ENABLE_CHAIN_ID=97\nREACT_APP_BSC_ENABLE_CHAIN_NAME=Bsc-Testnet\n```\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n  \u003csummary\u003eMainnet\u003c/summary\u003e\n\n```\n# Force-Bridge Ethereum Backend RPC\nREACT_APP_BRIDGE_RPC_URL=/api/force-bridge/api/v1\n# Force-Bridge Bsc Backend RPC\nREACT_APP_BRIDGE_BSC_RPC_URL=\n\n# CKB node RPC\nREACT_APP_CKB_RPC_URL=//lina.ckb.dev/rpc\n\n# 0: mainnet\n# 1: testnet\n# 2: devnet\nREACT_APP_CKB_CHAIN_ID=0\n\n# Nervos explorer for exploring transaction\nREACT_APP_TX_EXPLORER_NERVOS=https://explorer.nervos.org/transaction/\n# Ethereum explorer for exploring transaction\nREACT_APP_TX_EXPLORER_ETHEREUM=https://etherscan.io/tx/\n# Bsc explorer for exploring transaction\nREACT_APP_TX_EXPLORER_BSC=https://bscscan.com/tx/\n\n# Ethereum Mainnet\nREACT_APP_ETHEREUM_ENABLE_CHAIN_ID=1\nREACT_APP_ETHEREUM_ENABLE_CHAIN_NAME=Ethereum\n\n# Bsc Mainnet\nREACT_APP_BSC_ENABLE_CHAIN_ID=56\nREACT_APP_BSC_ENABLE_CHAIN_NAME=Bsc-Mainnet\n```\n\n\u003c/details\u003e\n\n### Run Command To Build\n\n```\n\u003e pwd\n/path/to/force-bridge-ui\n\u003e yarn install\n\u003e yarn run build:lib\n\n\u003e cd apps/ui\n\u003e yarn run build\n```\n\nWe will get a `build` folder after the build. The `build/index.html` is the program entry, and we should serve\nthe `build` folder with an HTTP server.\n\nFor more about deployment, we can check this [doc](https://create-react-app.dev/docs/deployment)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnervosnetwork%2Fforce-bridge-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnervosnetwork%2Fforce-bridge-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnervosnetwork%2Fforce-bridge-ui/lists"}