{"id":15927304,"url":"https://github.com/pcaversaccio/test-token-contract","last_synced_at":"2026-04-25T08:36:05.037Z","repository":{"id":105100605,"uuid":"195224497","full_name":"pcaversaccio/test-token-contract","owner":"pcaversaccio","description":"How to deploy a test equity token contract to Ganache and Rinkeby.","archived":false,"fork":false,"pushed_at":"2021-05-07T06:54:19.000Z","size":166,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-28T23:44:15.046Z","etag":null,"topics":["erc20","ethereum","smart-contract","solidity"],"latest_commit_sha":null,"homepage":"","language":"Solidity","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/pcaversaccio.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":"2019-07-04T10:54:24.000Z","updated_at":"2021-05-07T06:54:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"17d25188-4042-4c6e-bc57-e7c28023b691","html_url":"https://github.com/pcaversaccio/test-token-contract","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pcaversaccio/test-token-contract","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcaversaccio%2Ftest-token-contract","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcaversaccio%2Ftest-token-contract/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcaversaccio%2Ftest-token-contract/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcaversaccio%2Ftest-token-contract/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pcaversaccio","download_url":"https://codeload.github.com/pcaversaccio/test-token-contract/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcaversaccio%2Ftest-token-contract/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32255711,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T04:23:17.126Z","status":"ssl_error","status_checked_at":"2026-04-25T04:21:53.360Z","response_time":59,"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":["erc20","ethereum","smart-contract","solidity"],"created_at":"2024-10-06T23:00:47.570Z","updated_at":"2026-04-25T08:36:04.999Z","avatar_url":"https://github.com/pcaversaccio.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Equity Test Token Contract\nThis is a test equity token contract to be deployed on the local Ganache testnet and the Rinkeby testnet.\n## Get Started\n### Setup Truffle Project\n```\ntruffle init\n```\n### Compiling the Truffle Project\n```\ntruffle compile\n```\n### Migrate the Truffle Project to Ganache\nMake the following adjustment in the `truffle-config.json` file:\n```\n    development: {\n      host: \"127.0.0.1\",     // Localhost (default: none)\n      port: 7545,            // Standard Ethereum port (default: none)\n      network_id: \"5777\",       // Any network (default: none)\n      },\n```\nWrite the deployment script in the folder `migrations`. The migration file name should start with a number. I use to call it `2_deploy_contracts.js`.\n\nNow start your local Ganache environment and run `truffle migrate`. Congratulations you have deployed your test equity token contract to your personal Ethereum blockchain.\n### Migrate the Truffle Project to Rinkeby\nFirst, install the HDWalletProvider by running (probably as an administrator) \n```\nnpm install truffle-hdwallet-provider\n```\nand follow the steps [here](https://medium.com/@andresaaap/how-to-deploy-a-smart-contract-on-a-public-test-network-rinkeby-using-infura-truffle-8e19253870c4).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcaversaccio%2Ftest-token-contract","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpcaversaccio%2Ftest-token-contract","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcaversaccio%2Ftest-token-contract/lists"}