{"id":17142251,"url":"https://github.com/ctrlc03/stark-browniesh","last_synced_at":"2026-02-14T04:48:52.028Z","repository":{"id":50568806,"uuid":"518581096","full_name":"ctrlc03/stark-browniesh","owner":"ctrlc03","description":"An interactive CLI wrapper for nile (OZ) and starknet-devnet to easily audit smart contracts ","archived":false,"fork":false,"pushed_at":"2022-08-04T21:19:44.000Z","size":33,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T09:57:51.235Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/ctrlc03.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":"2022-07-27T19:04:21.000Z","updated_at":"2024-09-23T05:54:15.000Z","dependencies_parsed_at":"2022-08-19T20:10:44.165Z","dependency_job_id":null,"html_url":"https://github.com/ctrlc03/stark-browniesh","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/ctrlc03%2Fstark-browniesh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctrlc03%2Fstark-browniesh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctrlc03%2Fstark-browniesh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctrlc03%2Fstark-browniesh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ctrlc03","download_url":"https://codeload.github.com/ctrlc03/stark-browniesh/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247430838,"owners_count":20937873,"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":[],"created_at":"2024-10-14T20:30:12.947Z","updated_at":"2026-02-14T04:48:46.997Z","avatar_url":"https://github.com/ctrlc03.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# As I like Brownie, stark_brownie \n\nAn interactive CLI wrapper for nile (OZ) and starknet-devnet (Shard-Labs) to help with testing and auditing smart contracts. \n\nUltimately this could just be incorporated with nile, however I had started this using starkware testing Starknet Python class, realized \nblock and time management would be a pain, so just resorted calling `nile` functions and the `starknet-devnet` API from this tool. \n\n## How to use \n\n* Clone this repo inside the folder with contracts to audit/test\n* Compile contracts with nile (`nile compile`)\n* Launch a `starknet-devnet` node (`nile node`) \n* Launch `stark_brownie.py` and pass the abis path \n\n## Functionality \n\n* `call` to call a view function \n* `invoke` to invoke an external function \n* `send` to send a transaction using an account contract \n* `deploy` to deploy a contract\n* `declare` to declare a contract class\n* `setup` to deploy a contract account -\u003e you will need to set the env variables for them before launching the tool (`export user1=1234`)\n* `debug` to debug a tx from its tx_hash \n* `timestamp` to get the timestamp of the block \n* `increase_time` to increase the time of the next block (you can deploy a contract to move to the next block after this)\n* `structs` to print all of the structs of a contract \n* `functions` to print all of the functions of a contract\n* `hex_to_felt` to convert an hex to a felt\n* `str_to_felt` to convert a string to a felt \n* `felt_to_str` to convert a felt to a string \n\n## Acknowledgments \n\nThis is simply a wrapper around `nile`, so thanks to OpenZeppelin for writing the tool.\nAlso thanks to Shard-Labs for `starknet-devnet`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctrlc03%2Fstark-browniesh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fctrlc03%2Fstark-browniesh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctrlc03%2Fstark-browniesh/lists"}