Minting Well

Create a well in the backend

  1. Open Django Admin and log in

  2. Click “Well” Under the Wells tab

Well in django admin.
  1. Click “Add Well”

  2. Provide a valid API_ID (We’re now using API_UWI_Unformatted)

  3. Scroll down at the bottom and click Save and Continue Editing.

  4. 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)

  5. 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

Periodic Tasks in django admin.
  1. Check Update Drone Deploy and select Run selected tasks on the markdown. Click Go to manually trigger the drone deploy.

Updating drone deploy in django admin.

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

Checked is_staff field in django admin.
  1. Unminted wells will be marked accordingly with a yellow icon.

Unminted well as a yellow icon.
  1. Clicking the Marker will show a well view with Mint Well CTA. Click Mint Well to trigger the minting process.

Mint well button in well view.
  1. Approve and wait for the transaction, once it’s done, you can check the transaction hash on the backend.

Well backend auto-populates after minting.
  1. You can verify the minting process in the blockchain explorer.

  • https://explorer.celo.org/alfajores/tx/<Mint Transaction Hash>