{"id":18841624,"url":"https://github.com/subvisual/detris-contracts","last_synced_at":"2025-08-12T13:44:46.932Z","repository":{"id":104932628,"uuid":"484907340","full_name":"subvisual/detris-contracts","owner":"subvisual","description":"Contracts for the detris hackathon project - ETH Amsterdam 2022","archived":false,"fork":false,"pushed_at":"2022-04-24T02:44:25.000Z","size":73,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-30T10:44:30.243Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/subvisual.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-04-24T02:43:40.000Z","updated_at":"2023-07-24T15:46:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"a029ae10-4b3f-46de-8a78-b8046edc413b","html_url":"https://github.com/subvisual/detris-contracts","commit_stats":null,"previous_names":["subvisual/detris-contracts"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subvisual%2Fdetris-contracts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subvisual%2Fdetris-contracts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subvisual%2Fdetris-contracts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subvisual%2Fdetris-contracts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/subvisual","download_url":"https://codeload.github.com/subvisual/detris-contracts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239780122,"owners_count":19695734,"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-11-08T02:52:01.811Z","updated_at":"2025-02-20T04:42:24.071Z","avatar_url":"https://github.com/subvisual.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Contracts template • [![tests](https://github.com/finiam/contracts-template/actions/workflows/tests.yml/badge.svg)](https://github.com/finiam/contracts-template/actions/workflows/tests.yml) [![lints](https://github.com/finiam/contracts-template/actions/workflows/lints.yml/badge.svg)](https://github.com/finiam/contracts-template/actions/workflows/lints.yml) ![GitHub](https://img.shields.io/github/license/finiam/contracts-template)  ![GitHub package.json version](https://img.shields.io/github/package-json/v/finiam/contracts-template)\n\n\nFoundry contracts templates\n\n## Getting Started\n\nClick `use this template` on [Github](https://github.com/finiam/contracts-template) to create a new repository with this repo as the initial state.\n\nOr, if your repo already exists, run:\n```sh\nforge init --template https://github.com/finiam/contracts-template\ngit submodule update --init --recursive\nforge install\n```\n## Install\n\nYou have **2** options , `Nix` or system dependencies with `asdf`.\n\nWe recomend you have `direnv` installed for both of them\n\n### Nix\n\nWe have a flake file.\n\nAdd `experimental-features = nix-command flakes` to your `~/.config/nix/nix.conf`\n\nAnd uncomment the `use flake` line on your `.envrc`\n\nAll the dependencies should be installed for you by nix\n\n### Sytem dependencies\n\nIf you need to install and read about forgery please [go to](https://onbjerg.github.io/foundry-book/)\n\nYou need `node 16` and `yarn`\n\nYou can use [asdf](https://github.com/asdf-vm/asdf) and run `asdf install`\n\n**Deployment \u0026 Verification**\n\nInside the [`bin/`](./bin/) directory there are a few scripts that can be used to deploy and verify contracts.These are simple wrappers for `forge`.\n\n**Interacting with contracts**\n\nInside the [`bin/`](./bin/) directory there are a few scripts that can be used to send transactions and read contract state. These are simple wrappers for `cast`.\n\n### Writing Tests with Foundry\n\nTo learn about testing in Foundry see [solmate](https://github.com/Rari-Capital/solmate/tree/main/src/test)\n\n### Configure Foundry\n\nSee the Foundry [configuration documentation](https://github.com/gakonst/foundry/blob/master/config/README.md#all-options).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubvisual%2Fdetris-contracts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsubvisual%2Fdetris-contracts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubvisual%2Fdetris-contracts/lists"}