{"id":15673020,"url":"https://github.com/samajammin/etherswing","last_synced_at":"2025-08-15T23:14:10.653Z","repository":{"id":38329451,"uuid":"192494352","full_name":"samajammin/etherswing","owner":"samajammin","description":"A smart contract that allows users to leverage up on ETH with built in stop-loss using MakerDAO and Uniswap.","archived":false,"fork":false,"pushed_at":"2023-01-23T23:02:47.000Z","size":1851,"stargazers_count":15,"open_issues_count":7,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-26T16:08:57.768Z","etag":null,"topics":["truffle","truffle-framework","vyper","vyper-contracts"],"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/samajammin.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}},"created_at":"2019-06-18T08:03:47.000Z","updated_at":"2025-04-10T08:57:05.000Z","dependencies_parsed_at":"2023-01-26T10:31:20.148Z","dependency_job_id":null,"html_url":"https://github.com/samajammin/etherswing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/samajammin/etherswing","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samajammin%2Fetherswing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samajammin%2Fetherswing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samajammin%2Fetherswing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samajammin%2Fetherswing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samajammin","download_url":"https://codeload.github.com/samajammin/etherswing/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samajammin%2Fetherswing/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270644765,"owners_count":24621332,"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","status":"online","status_checked_at":"2025-08-15T02:00:12.559Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["truffle","truffle-framework","vyper","vyper-contracts"],"created_at":"2024-10-03T15:35:25.288Z","updated_at":"2025-08-15T23:14:10.634Z","avatar_url":"https://github.com/samajammin.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EtherSwing\n\n## Prerequisites\n\nYou will need the following properly installed on your computer:\n\n- [Git](https://git-scm.com/)\n- [Node.js v8+ LTS](https://nodejs.org/en/)\n\n## Installation\n\nInstall [yarn](https://yarnpkg.com/lang/en/docs/install) (or use NPM if you prefer):\n\n```\nbrew install yarn\n```\n\nInstall [Truffle](https://truffleframework.com/truffle):\n\n```\nyarn global add truffle\n```\n\nEnsure you have truffle 5. Running `truffle version` should output look something like:\n\n```\nTruffle v5.0.21 (core: 5.0.21)\nSolidity v0.5.0 (solc-js)\nNode v10.13.0\nWeb3.js v1.0.0-beta.37\n```\n\n[Install Vyper](https://vyper.readthedocs.io/en/latest/installing-vyper.html) with a virtualenv\n\nOnce your virtualenv is activated, running `vyper --version` should output:\n\n```\n0.1.0b10\n```\n\nInstall project dependencies\n\n```bash\nyarn\n```\n\n## Development\n\nIn order to run the `mainlocal` network, set up a local [ganache](https://github.com/trufflesuite/ganache-cli) chain that is a fork of Ethereum's mainnet. The easiet way is to create an [Infura](https://infura.io) project. Then run:\n\n```bash\nganache-cli --fork https://mainnet.infura.io/v3/{your-infura-project-id}@8159055\n```\n\nThis will fork the mainnet at block 8159055, allowing you to interact with mainnet contracts and storage (e.g. the MakerDAO system). When using Truffle, make sure to run:\n\n```bash\ntruffle console --network mainlocal\n```\n\nOtherwise, running `truffle develop` will spin up a separate ganache instance.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamajammin%2Fetherswing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamajammin%2Fetherswing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamajammin%2Fetherswing/lists"}