{"id":23553284,"url":"https://github.com/quangdangfit/bep20-token","last_synced_at":"2026-05-01T06:34:21.213Z","repository":{"id":50248650,"uuid":"358101196","full_name":"quangdangfit/bep20-token","owner":"quangdangfit","description":"BEP20 token example","archived":false,"fork":false,"pushed_at":"2021-05-31T12:42:10.000Z","size":475,"stargazers_count":1,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-15T17:50:42.979Z","etag":null,"topics":["bep20","bep20-token","binance","binance-smart-chain","ganache","jest","truffle"],"latest_commit_sha":null,"homepage":"","language":"Solidity","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/quangdangfit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-15T02:20:40.000Z","updated_at":"2023-08-29T03:28:20.000Z","dependencies_parsed_at":"2022-08-25T18:20:51.348Z","dependency_job_id":null,"html_url":"https://github.com/quangdangfit/bep20-token","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/quangdangfit/bep20-token","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quangdangfit%2Fbep20-token","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quangdangfit%2Fbep20-token/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quangdangfit%2Fbep20-token/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quangdangfit%2Fbep20-token/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quangdangfit","download_url":"https://codeload.github.com/quangdangfit/bep20-token/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quangdangfit%2Fbep20-token/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32487626,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["bep20","bep20-token","binance","binance-smart-chain","ganache","jest","truffle"],"created_at":"2024-12-26T11:14:43.573Z","updated_at":"2026-05-01T06:34:21.195Z","avatar_url":"https://github.com/quangdangfit.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BEP20 Token Smart Contract\n\n## Requirements\n- [Truffle](https://www.trufflesuite.com/docs/truffle/overview)\n- [Ganache CLI](https://github.com/trufflesuite/ganache-cli)\n- Node: v8.9.4 or later\n- [Jest](https://jestjs.io/)\n\n\n## Configuration\n- truffle.config.js\n\n## How to run\n\n### Install dependencies and devDependencies\n```\nnpm install\n```\n\n### Development\n\nStep 1: Run ganache-cli on development port (ex: 8545):\n\n```\nganache-cli -p 8545\n```\n\nStep 2: Run migrate on development network\n```\ntruffle migrate --network development\n```\n\nStep 3: Test smart contract's methods on development\n```\ntruffle console --network development\ncheck your function here\n```\n\n### Test\n\nStep 1: Run ganache-cli on test port (ex: 7545):\n```\nganache-cli -p 7545\n```\n\nStep2: Run test\n```\ntruffle test --network test\n```\n\n### Custom network\n\nStep 1: Add your `mnemonic` to `truffle.config.js`:\n```\nvar HDWalletProvider = require(\"truffle-hdwallet-provider\");\nvar mnemonic = \u003cyour-mnemonic\u003e;\n```\n\nStep 2: Configure custom network (ex: bsc testnet)\n```\nbsctest: {\n  provider: () =\u003e new HDWalletProvider(mnemonic, `https://data-seed-prebsc-1-s1.binance.org:8545`),\n  network_id: 97,\n  confirmations: 10,\n  timeoutBlocks: 200,\n  skipDryRun: true\n},\n```\n\nCheck document on [here](https://docs.binance.org/smart-chain/developer/deploy/truffle-verify.html)\n\nStep 2: Deploy contract to custom network:\n```\ntruffle migrate --network \u003cyour-custom-network\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquangdangfit%2Fbep20-token","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquangdangfit%2Fbep20-token","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquangdangfit%2Fbep20-token/lists"}