{"id":20844332,"url":"https://github.com/bootnodedev/ws-0xroschain","last_synced_at":"2026-04-24T06:32:18.381Z","repository":{"id":164427903,"uuid":"639401236","full_name":"BootNodeDev/ws-0xRosChain","owner":"BootNodeDev","description":null,"archived":false,"fork":false,"pushed_at":"2023-05-15T16:52:52.000Z","size":332,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-27T15:58:17.206Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/BootNodeDev.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-05-11T11:59:15.000Z","updated_at":"2023-05-21T00:37:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"3485c1f7-8f3d-4eee-a632-7c0001c16303","html_url":"https://github.com/BootNodeDev/ws-0xRosChain","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BootNodeDev/ws-0xRosChain","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BootNodeDev%2Fws-0xRosChain","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BootNodeDev%2Fws-0xRosChain/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BootNodeDev%2Fws-0xRosChain/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BootNodeDev%2Fws-0xRosChain/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BootNodeDev","download_url":"https://codeload.github.com/BootNodeDev/ws-0xRosChain/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BootNodeDev%2Fws-0xRosChain/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32212805,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T03:15:14.334Z","status":"ssl_error","status_checked_at":"2026-04-24T03:15:11.608Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-18T02:09:22.451Z","updated_at":"2026-04-24T06:32:18.376Z","avatar_url":"https://github.com/BootNodeDev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 0xRosChain Solidity Workshop\n\nEste repo se creó para el workshop de Solidity para la comunidad de Roschain. La intención del workshop es que sea 100% práctico.\n\nEn [contracts](./contracts/) van a encontrar 2 smart contracts que funcionan pero estan incompletos, y en [tests](./test/) algunos tests para los smart contracts con los que vamos a trabajar, alguno de los test fallan y otros ni siquiera están escritos.\n\nA partir de los tests vamos a tener que trabajar en los contratos para cumplir con los requerimientos que se plantean.\n\n## `ZxRosChainNFT`\n\nEs un token ERC721 (NFT)\n\n- Solo el contrato `ZxRosChainMinter` deberia poder llamar a la función `mint`\n- La cantidad de `ZxRosChainNFT`s debería estar limitada a un cierto número\n\n## `ZxRosChainMinter`\n\nEs el contrato con el que deberían interactuar los usuario que participan del mint de `ZxRosChainNFT`\n\n- Debería emitir un error particular si se intenta llamar a la función `mint` sin que haya un token configurado\n- El NFT minteado debería ser transferido al address que llama a la función `mint`\n- Solo debería permitir mintear 1 NFT por address\n- Solo un grupo de addresses habilitadas deberían poder mintear un NFT\n\n## WARNING\n\nLos contratos de este repo tienen varios problemas de seguridad que no se tuvieron en cuenta a la hora de escribirlos para que sean simples ayuden a resolver los problemas que se plantearon. De ninguna manera se pueden considerar aptos para ser usados en un proyecto real.\n\n---\n\n### Pre-requirements\n\nThe following prerequisites are required:\n\n- [`Node.js`](https://nodejs.org/es/)\n- [`Npm 7 or higher`](https://www.npmjs.com//)\n\n#### How to upgrade NPM to latest stable version\n\n```javascript\nnpm install -g npm@latest\n```\n\n### Install dependencies\n\nBefore running any command, make sure to install dependencies:\n\n```sh\nnpm i\n```\n\n### Compile contracts\n\nCompile the smart contracts with Hardhat:\n\n```sh\nnpm run compile\n```\n\n### Test\n\nRun unit tests:\n\n```sh\nnpm run test\n```\n\n### Coverage\n\nRun unit tests coverage:\n\n```sh\nnpm run coverage\n```\n\n### Gas Report\n\nRun unit tests with gas report:\n\n```sh\nnpm run gas-report\n```\n\n### Linter\n\nRun typescript and solidity linters:\n\n```sh\nnpm run lint\n```\n\n## Deployment\n\nCreate `.env` file and complete the variables:\n\n```sh\ncp .env.example .env\n```\n\n### Deploy the contracts to Goerli Network\n\nDeploy contracts:\n\n```sh\nnpm run deploy:goerli\n```\n\nVerify contracts:\n\n```sh\nnpm run verify:goerli\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbootnodedev%2Fws-0xroschain","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbootnodedev%2Fws-0xroschain","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbootnodedev%2Fws-0xroschain/lists"}