{"id":18718486,"url":"https://github.com/astralprotocol/geonft-registry-poc","last_synced_at":"2025-04-12T13:33:52.073Z","repository":{"id":63247605,"uuid":"457385561","full_name":"AstralProtocol/geonft-registry-poc","owner":"AstralProtocol","description":"Monorepo with a hardhat contract and dapp","archived":true,"fork":false,"pushed_at":"2025-02-28T14:45:35.000Z","size":1796,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-12T13:05:31.783Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://kolektivo-geonft-poc.on.fleek.co/","language":"TypeScript","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/AstralProtocol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2022-02-09T14:09:54.000Z","updated_at":"2025-02-28T14:45:52.000Z","dependencies_parsed_at":"2024-11-07T13:23:28.058Z","dependency_job_id":"0d3711f5-8858-4c18-990e-067e983031cb","html_url":"https://github.com/AstralProtocol/geonft-registry-poc","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/AstralProtocol%2Fgeonft-registry-poc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AstralProtocol%2Fgeonft-registry-poc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AstralProtocol%2Fgeonft-registry-poc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AstralProtocol%2Fgeonft-registry-poc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AstralProtocol","download_url":"https://codeload.github.com/AstralProtocol/geonft-registry-poc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248573651,"owners_count":21126878,"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-07T13:21:35.067Z","updated_at":"2025-04-12T13:33:47.065Z","avatar_url":"https://github.com/AstralProtocol.png","language":"TypeScript","readme":"# GeoNFT and Spatial Data Registry Proof-of-Concept\n\nMonorepo with two packages:\n\n- hardhat-ts: a hardhat typescript project\n  - runs and deploys the NFT contracts to a local node\n  - deploys contract to Alfajores testnet\n  - deploys contract to Celo mainnet\n- dapp: a React, Redux web application\n  - allows anyone to mint a GeoNFT\n  - IPFS for metadata\n  - adds a Ceramic document\n\n## TODO\n\n- dapp\n  - Add wallet mock to expand testing in Jest\n\n## Requirements\n\nYarn\n\n## Install\n\n```bash\ngit clone https://github.com/AstralProtocol/geonft-registry-poc.git\ncd geonft-registry-poc\nyarn install\n```\n\n### Setup .env file for dapp\n\nCreate an Infura Account and an Infura project with IPFS Service, copy `packages/dapp/.env.sample` to `packages/dapp/.env` and fill in the following fields:\n\nREACT_APP_PROJECT_ID=\n\nREACT_APP_PROJECT_SECRET=\n\n### Setup Metamask\n\nTo run locally, create a new profile in Chrome and open the Metamask plugin.\n\nImport the test seed phrase: `test test test test test test test test test test test junk`\n\nUnder `Networks` click `Show/hide test networks`\n\nOpen Metamask `Settings`, `Networks`, and select `Localhost 8545`. Set chainId to `31337`\n\nSelect `Localhost 8545` network.\n\nNotice: when running a Localhost node, you may receive this error: `Nonce too high. Expected nonce to be 1 but got N. Note that transactions can't be queued when automining.` As a fix, go to `Settings`, `Advanced`, and click `Reset Account`.\n\n## Run\n\n### Hardhat Local Node\n\nOpen a terminal and run `yarn hardhat:localnode`\n\n### Run dapp\n\nOpen packages/dapp/webpack.config.js and update devServer...host with your local IP Address.\n\nOpen a second terminal and run `yarn dapp:start`\n\nOpen your Chrome profile with test Metamask instance and go to \u003chttps://YOURIPADDRESS:8080/\u003e\n\n### Wallet\n\n1) Select Metamask and connect with the localhost node.\n2) Select WalletConnect and scan the QR Code with your Alfajores wallet.\n\n## Available Scripts\n\nIn the project directory, you can run:\n\n### dapp\n\n#### `yarn dapp:start`\n\nRuns the app in development mode on \u003chttps://YOURIPADDRESS:8080/\u003e\n\n#### `yarn dapp:test`\n\nRuns the React test watcher in an interactive mode.\nBy default, runs tests related to files changed since the last commit.\n\n[Read more about testing React.](https://facebook.github.io/create-react-app/docs/running-tests)\n\n#### `yarn dapp:webpack`\n\nBuilds the dapp for production to the `build` folder.\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\n### hardhat-ts\n\n#### `yarn hardhat:test`\n\nRun the tests in the test directory\n\n#### `yarn hardhat:watch`\n\nStarts a local node, deploys contracts, updates the deployments/localhost folder with contract address and abi.\n\nOn contract update, will redeploy contract and update deployments folder.\n\n#### `yarn hardhat:deployalfa`\n\nDeploys the contract to Alfajores and records the address in the deployments/alfajores directory\n\n#### `yarn hardhat:deploycelo`\n\nDeploys the contract to Celo and records the address in the deployments/celo directory\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastralprotocol%2Fgeonft-registry-poc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastralprotocol%2Fgeonft-registry-poc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastralprotocol%2Fgeonft-registry-poc/lists"}