{"id":17899519,"url":"https://github.com/anupam-io/solctemplate","last_synced_at":"2025-04-03T05:24:06.896Z","repository":{"id":122494742,"uuid":"326322697","full_name":"anupam-io/solcTemplate","owner":"anupam-io","description":"Custom smart contract development kit with mocha \u0026 ganache-cli","archived":false,"fork":false,"pushed_at":"2021-03-07T18:49:15.000Z","size":119,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-08T19:27:36.950Z","etag":null,"topics":["ganache","ganache-cli","mocha","solc","solc-js","solcjs","solctemplate-testing","solidity-template"],"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/anupam-io.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":"2021-01-03T03:53:55.000Z","updated_at":"2021-03-07T18:50:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"0c85cece-baef-47ef-822f-4c760d7e89c5","html_url":"https://github.com/anupam-io/solcTemplate","commit_stats":null,"previous_names":["anupam-io/solctemplate"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anupam-io%2FsolcTemplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anupam-io%2FsolcTemplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anupam-io%2FsolcTemplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anupam-io%2FsolcTemplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anupam-io","download_url":"https://codeload.github.com/anupam-io/solcTemplate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246940565,"owners_count":20858158,"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":["ganache","ganache-cli","mocha","solc","solc-js","solcjs","solctemplate-testing","solidity-template"],"created_at":"2024-10-28T15:59:46.080Z","updated_at":"2025-04-03T05:24:06.869Z","avatar_url":"https://github.com/anupam-io.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Custom smart-contract development kit with mocha \u0026 ganache-cli\n## Instructions for deploying on a network/ganache\n - If you are testing on ganache\n   - you don't need a seed phrase, as you can query ganache for unlocked accounts\n - If you want to deploy on a network(such as a test network or mainnet)\n   - you need to set `seedPhrase` and `rpcEndpoint` appropriately\n\n## How to run?\n - `npm i`: for package installation\n - `npm run compile`: compilation of contracts\n```\n\u003e solctemplate@1.0.0 compile\n\u003e node compileAll.js\n\nCompiling  MyContract.sol ...\nMyContract.sol  compiled.\n```\n - `npm run test`: *mocha* tests\n```\n\u003e solctemplate@1.0.0 test\n\u003e mocha\n\n  MyContract\n    ✓ is correctly deploying on the network. (38ms)\n\n\n  1 passing (166ms)\n```\n - `npm run migrate`: run all deploy scripts in `migrations` folder\n```\n\u003e solctemplate@1.0.0 migrate\n\u003e node migrateAll.js;\n\nWorking good here.\nAttempting to deploy from account  0x00F167379B6492581e4D96389411cdc591c112C3\nSuccessfully deployed at:  0xFb056459D6B077CC3cDE71E592f63dA07BEb78aC\n```\n\n## Dependencies\n```\n  \"dependencies\": {\n    \"@truffle/hdwallet-provider\": \"^1.2.2\",\n    \"async\": \"^3.2.0\",\n    \"fs-extra\": \"^9.0.1\",\n    \"ganache-cli\": \"^6.12.1\",\n    \"mocha\": \"^8.2.1\",\n    \"solc\": \"^0.8.0\",\n    \"web3\": \"^1.3.1\"\n  }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanupam-io%2Fsolctemplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanupam-io%2Fsolctemplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanupam-io%2Fsolctemplate/lists"}