{"id":21754465,"url":"https://github.com/e00dan/polyjuice-sudt-proxy-transfer","last_synced_at":"2026-04-13T21:31:35.471Z","repository":{"id":143126986,"uuid":"402786895","full_name":"e00dan/polyjuice-sudt-proxy-transfer","owner":"e00dan","description":"Nervos Layer 2 EVM bridged token transfer demo","archived":false,"fork":false,"pushed_at":"2021-09-30T09:23:30.000Z","size":209,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-23T17:02:58.352Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/e00dan.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}},"created_at":"2021-09-03T13:53:37.000Z","updated_at":"2022-09-26T00:24:47.000Z","dependencies_parsed_at":"2024-03-09T17:02:26.315Z","dependency_job_id":null,"html_url":"https://github.com/e00dan/polyjuice-sudt-proxy-transfer","commit_stats":null,"previous_names":["e00dan/polyjuice-sudt-proxy-transfer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/e00dan/polyjuice-sudt-proxy-transfer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e00dan%2Fpolyjuice-sudt-proxy-transfer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e00dan%2Fpolyjuice-sudt-proxy-transfer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e00dan%2Fpolyjuice-sudt-proxy-transfer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e00dan%2Fpolyjuice-sudt-proxy-transfer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/e00dan","download_url":"https://codeload.github.com/e00dan/polyjuice-sudt-proxy-transfer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/e00dan%2Fpolyjuice-sudt-proxy-transfer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31771807,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T20:17:16.280Z","status":"ssl_error","status_checked_at":"2026-04-13T20:17:08.216Z","response_time":93,"last_error":"SSL_read: 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":"2024-11-26T09:14:02.734Z","updated_at":"2026-04-13T21:31:35.445Z","avatar_url":"https://github.com/e00dan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Run\n\n```\nyarn\nyarn compile // docker required for compilation\nnode transfer.js\n```\n\n## Example\n\n```\n➜ node transfer.js\nTesting ckETH SUDT proxy transfer on Nervos Layer 2 Testnet\nUsing Ethereum address: 0xd46aC0Bc23dB5e8AfDAAB9Ad35E9A3bA05E092E8\nDeploying SUDT Proxy contract...\nDeploy transaction hash: 0x9254a0ed95352cc90309c24dc176b9262b903646e814bd0382b5b0e3a23eabcd\nDeployed SUDT-ERC20 Proxy contract address: 0x84220609e42b51c9aEf056Da0A06983746974291\nCorresponding Sender Polyjuice address: 0x56eaccaa2ce59c6c0400b1e0b2e70dfd2dddd166\nChecking ckETH balance...\nSender ckETH balance before transfer:  776999000000000000\nReceiver ckETH balance before transfer:  0\nTry calling transfer before sending...\nTry sending ckETH transfer...\nSender ckETH balance after transfer:  776998999999999000\nReceiver ckETH balance after transfer:  1000\n```\n\n## Notes\n\n**Important**: Make sure you use provided bytecode in SudtERC20Proxy.bin - it is whitelisted in Nervos Layer 2 and using different bytecode won't work. This is compiled using: solidity0.8.2 using solcjs.\n\nMake sure `ACCOUNT_PRIVATE_KEY` and `SENDER` correspond respectively to ckETH sender private key and sender address. Make sure Sender has CKB on Layer 2 and ckETH on Layer 2. Default accounts should already have some ckETH and CKB on Layer 2.\n\nMake sure `RECEIVER` account exists on Nervos Layer 2 and it has 0 ckETH for testing purposes.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe00dan%2Fpolyjuice-sudt-proxy-transfer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fe00dan%2Fpolyjuice-sudt-proxy-transfer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fe00dan%2Fpolyjuice-sudt-proxy-transfer/lists"}