============ Minting Well ============ ---------------------------- Create a well in the backend ---------------------------- 1. Open Django Admin and log in 2. Click "Well" Under the Wells tab .. figure:: /images/adminWells.png :alt: Well in django admin. :align: center 3. Click "Add Well" 4. Provide a valid `API_ID` (We're now using `API_UWI_Unformatted`) 5. Scroll down at the bottom and click `Save and Continue Editing`. 6. Once the initial Enverus data has been pre-populated, update all other information about the well. Most smart contract related fields will be auto-populated after minting (There will be a help text that shows a field will be auto-populated) 7. Required fields for minting are: - `is approved for minting` - `fee percetange` - `operator address` - `number of eavs` (both `buffer pool` and `advanced`) - `geoJSON` ---------------------------------------- Optional: Manually updating drone deploy ---------------------------------------- 1. Updating the drone deploy instance is not necessary for minting (drone deploy images/videos/panoramas will not appear on the map) 2. Open Django Admin and click "Periodic Tasks" under Periodic Tasks tab .. figure:: /images/adminPeriodicTasks.png :alt: Periodic Tasks in django admin. :align: center 3. Check `Update Drone Deploy` and select `Run selected tasks` on the markdown. Click `Go` to manually trigger the drone deploy. .. figure:: /images/mintDronedeployManual.png :alt: Updating drone deploy in django admin. :align: center NOTE: Drone Deploy Updates are automatically triggered weekly. ------------------------------ Minting a well in the frontend ------------------------------ 1. Login with your minting wallet - Make sure that the `is_staff` fields is checked. - If not, access the user instances and check the `is_staff` field .. figure:: /images/mintIsStaff.png :alt: Checked is_staff field in django admin. :align: center 2. Unminted wells will be marked accordingly with a yellow icon. .. figure:: /images/mintUnmintedMarker.png :alt: Unminted well as a yellow icon. :align: center 3. Clicking the Marker will show a well view with `Mint Well` CTA. Click `Mint Well` to trigger the minting process. .. figure:: /images/mintWellViewMint.png :alt: Mint well button in well view. :align: center 4. Approve and wait for the transaction, once it's done, you can check the transaction hash on the backend. .. figure:: /images/mintTxnHashAuto.png :alt: Well backend auto-populates after minting. :align: center 5. You can verify the minting process in the blockchain explorer. - `https://explorer.celo.org/alfajores/tx/`