{"id":15653713,"url":"https://github.com/sambacha/zen-foundry-template","last_synced_at":"2025-06-29T03:33:22.855Z","repository":{"id":39719182,"uuid":"475399603","full_name":"sambacha/zen-foundry-template","owner":"sambacha","description":"zen minimal foundry template ","archived":false,"fork":false,"pushed_at":"2025-04-01T02:08:03.000Z","size":174,"stargazers_count":29,"open_issues_count":4,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-24T09:50:33.093Z","etag":null,"topics":["boilerplate","dapp","dapptools","ethereum","forge","foundry","minimal","solidity","template","zen"],"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/sambacha.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,"zenodo":null}},"created_at":"2022-03-29T10:53:55.000Z","updated_at":"2025-04-27T12:06:16.000Z","dependencies_parsed_at":"2023-02-11T20:30:37.796Z","dependency_job_id":"f23cb8bf-4d7a-4874-8da9-687f9f54626e","html_url":"https://github.com/sambacha/zen-foundry-template","commit_stats":null,"previous_names":[],"tags_count":13,"template":true,"template_full_name":null,"purl":"pkg:github/sambacha/zen-foundry-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambacha%2Fzen-foundry-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambacha%2Fzen-foundry-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambacha%2Fzen-foundry-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambacha%2Fzen-foundry-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sambacha","download_url":"https://codeload.github.com/sambacha/zen-foundry-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sambacha%2Fzen-foundry-template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262528169,"owners_count":23324510,"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":["boilerplate","dapp","dapptools","ethereum","forge","foundry","minimal","solidity","template","zen"],"created_at":"2024-10-03T12:46:43.181Z","updated_at":"2025-06-29T03:33:22.834Z","avatar_url":"https://github.com/sambacha.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch2\u003e zen.foundry-template \u003c/h2\u003e\n\n\u003e a minimalist foundry boilerplate\n\n```bash\n\nforge init --template https://github.com/sambacha/zen-foundry-template\n```\n\n\u003ch3\u003e template.script \u003c/h3\u003e\n\n```shell\n#!/bin/sh\nGIT_AUTHOR_DATE=\"Sun, 01 Jan 2023 00:00:00 +0000\" GIT_COMMITTER_DATE=\"Sun, 01 Jan 2023 00:00:00 +0000\" git commit --allow-empty --allow-empty-message -m ''\nwget https://raw.githubusercontent.com/sambacha/zen-foundry-template/master/.gitignore\nwget https://raw.githubusercontent.com/sambacha/zen-foundry-template/master/.gitattributes\nwget https://raw.githubusercontent.com/sambacha/zen-foundry-template/master/.editorconfig\nwget https://raw.githubusercontent.com/sambacha/zen-foundry-template/master/justfile\nwget https://raw.githubusercontent.com/sambacha/zen-foundry-template/master/foundry.toml \nmkdir -p src\nmkdir -p test\nmkdir -p .github/workflows\nforge config \u003e foundry.toml\ntouch .dapprc\ntouch .env\ngit commit -n -m \"feat(release): inital commit\"\n```\n\n### The base fuzzing account\n```\n0xAaaaAaAAaaaAAaAAaAaaaaAAAAAaAaaaAaAaaAA0\n```\n### An account with 0 ETH\n```\n0xAaAAAaaAAAAAAaaAAAaaaaAaAaAAAAaAAaAaAaA1\n```\n\n### An account with a lot of ETH\n```\n0xAaAaaAAAaAaaAaAaAaaAAaAaAAAAAaAAAaaAaAa2\n```\n\n### The creator account \n```\n0xafFEaFFEAFfeAfFEAffeaFfEAfFEaffeafFeAFfE\n```\n\n\n## Example Contract Documentation\n\n# Contract\n\n## Options --\n\n## Classes --\n\n\n## abstractLibrary\n\n### Inheritance --\n\n### usingFor --\n\n### Vars --\n\n### Methods\n\n\t🔍str_concat() _a _b\n\t🔍str_concat() _a _b _c\n\t🔍str_concat() _a _b _c _d\n\t🔍str_concat() _a _b _c _d _e\n\t🔍str_concat() _a _b _c _d _e _f\n\t🔍str_concat() _a _b _c _d _e _f _g\n\t🔍str_concat() _a _b _c _d _e _f _g _h\n\n\t\tstring memory _a,\n        string memory _b,\n        string memory _c,\n        string memory _d,\n        string memory _e,\n        string memory _f,\n        string memory _g,\n        string memory _h\n\n\t🔍int_to_string()\n\t🔍to_ascii_string()\n\t🔍char()\n\n## `git-init` script\n\n```bash\n#!/bin/bash\ngit init --shared=false\nfunction writeGitIgnore() {\n  cat \u003c\u003c EOF \u003e.gitignore\n# -*- mode: gitignore; -*-\n/out\ncache/\nartifacts/\nlogs\n*.log\n!/broadcast\n/broadcast/*\n/broadcast/*/31337/\n\n## CVE-2021-21300 style exploits\n.\\#*\n\n## General ##\n*~\n\\#*\\#\n/**/build\n.DS_Store\nnode_modules\ntmp/\n_dev/\ncoverage/\n/dist\n/build\n\n## Binary ##\n*.zip\n*.tar\n*.tar.gz\n*.tgz\n\n## IDE ##\n.secret\n.idea/*\n\n### VisualStudioCode ###\n.vscode/*\n!.vscode/settings.json\n!.vscode/tasks.json\n!.vscode/launch.json\n!.vscode/extensions.json\n*.code-workspace\nEOF\n}\nfunction writeEditorConfig() {\n  cat \u003c\u003c EOF \u003e.editorconfig\n# \nroot = true\n\n# All files\n[*]\ncharset = utf-8\nend_of_line = lf\nindent_size = 2\nindent_style = space\ninsert_final_newline = true\ntrim_trailing_whitespace = true\n\n# Solidity\n# https://github.com/sambacha/prettier-config-solidity\n[*.sol]\nindent_size = 4\nindent_style = space\n\n# q \n# kdb+ \n[*.q]\nindent_style = space\nindent_size = 2\nend_of_line = lf\ncharset = utf-8\ntrim_trailing_whitespace = true\ninsert_final_newline = true\n\n# Markdown\n[*.{md,adoc,asciidoc}]\ncharset = utf-8\nend_of_line = lf\ninsert_final_newline = true\ntrim_trailing_whitespace = false\n\n# Match nix files, set indent to spaces with width of two\n[*.nix]\nindent_style = space\nindent_size = 2\n\n# JavaScript, JSON, JSX, JavaScript Modules, TypeScript\n# https://github.com/feross/standard\n# https://prettier.io\n[*.{cjs,js,json,jsx,mjs,ts,tsx,mts,cts}]\nindent_size = 2\nindent_style = space\n\n# TOML\n# https://github.com/toml-lang/toml/tree/master/examples\n[*.toml]\nindent_size = 2\nindent_style = space\n\n# YAML\n# http://yaml.org/spec/1.2/2009-07-21/spec.html#id2576668\n[*.{yaml,yml}]\nindent_size = 2\nindent_style = space\n\n# Shell\n# https://google.github.io/styleguide/shell.xml#Indentation\n[*.{bash,sh,zsh}]\nindent_size = 2\nindent_style = space\n\n# confg + cfg\n[*.{conf,cfg}]\ncharset                     = UTF-8\nend_of_line                 = LF\nindent_size                 = 4\nindent_style                = tab\ninsert_final_newline        = true\ntab_width                   = 4\ntrim_trailing_whitespace    = true\n\n# Match diffs, avoid to trim trailing whitespace\n[*.{diff,patch}]\ntrim_trailing_whitespace = false\n\n# Ignore fixtures and vendored files\n[{dist,artifacts,vendor,test/fixtures,tests_config,__snapshot__,}/**]\ncharset = unset\nend_of_line = unset\nindent_size = unset\nindent_style = unset\ninsert_final_newline = unset\ntrim_trailing_spaces = unset\nEOF\n}\nwriteGitIgnore;\nwriteEditorConfig;\nGIT_AUTHOR_DATE=\"Fri, 01 Jan 2021 00:00:00 +0000\" GIT_COMMITTER_DATE=\"Fri, 01 Jan 2021 00:00:00 +0000\" git commit --allow-empty --allow-empty-message -m ''\necho \"configured, successful\"\nexit 0\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsambacha%2Fzen-foundry-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsambacha%2Fzen-foundry-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsambacha%2Fzen-foundry-template/lists"}