Official AgriDot documentation
AgriDot is a blockchain-based application that enables farmers to manage their fields, crops they grow on them, track pests, monitor weather in their fields, and share valuable insights through a decentralized, transparent system. By integrating agriculture into the Polkadot ecosystem, AgriDot introduces a pioneering use case for blockchain in farming. The platform is fully open-source and prioritizes user privacy, eliminating the need for centralized databases.
- Field Management - Create Private or Public fields (Minted as Collections)
- Crop Management - Create Private or Public crops on your fields (Minted as NFTs)
- Field Weather monitoring - Monitor weather on your field.
- Pest reporting - Report pest found on your crops and get rewarded by farmers that found your report helpful.
- Guide creation - Create guides that help community and receive rewards from other farmers.
- Crop origin proofs - Public fields and crops can generate crop origin proofs that can be used as evidence for business partners or for local markets.
- None of your private data is ever sent to any servers or stored anywhere else than on your device.
- You can create your own encryption password for private fields and crops meaning noone other than you will be able to decrypt their details via AgriDot
- Everything done transparently. AgriDot is fully Open source and has MIT license allowing you to use it's code and modify it to your liking.
- No ADS or any premium memberships. You only pay for Blockchain tasks.
- Cheap minting (Only about 0.05$ to create a field or crop).
In AgriDot we believe, that Farmers can benefit from Blockchain usecase and we also believe, that the community of Farmers can be really strong together and save lots of crops per annum by pest reports.
For user guide please reffer to the Official AgriDot documentation - User guide section
For developer guide please reffer to Official AgriDot documentation - Developer guide section
App uses .env file to pass some secret enviroment variables. Below is an example of .env:
EXPO_PUBLIC_PINATA_JWT=string
EXPO_PUBLIC_GATEWAY_URL=webside.mypinata.cloud
EXPO_PUBLIC_SERVER_URL=url
EXPO_PUBLIC_ENCRYPT_PHRASE=password
EXPO_PUBLIC_WS_ENDPOINT=wss://kusama-asset-hub-rpc.polkadot.io
EXPO_PUBLIC_RECIPIENT_ADDRESS=addr
EXPO_PUBLIC_GUIDE_COLLECTION_ID=1
EXPO_PUBLIC_GATEWAY_URL=flk-ipfs.xyz
EXPO_PUBLIC_FIREBASE_API_KEY=key
EXPO_PUBLIC_AUTH_DOMAIN=domain
EXPO_PUBLIC_PROJECT_ID=project_id
EXPO_PUBLIC_STORAGE_BUCKET=bucket
EXPO_PUBLIC_MESSAGE_SENDER_ID=sender_id
EXPO_PUBLIC_APP_ID=app_id
#Build Docker image
docker build -t agridot-fe .
#Start expo
docker run --env-file .env.local -it --rm agridot-fe
#1. Clone or fork the repository
#2. Install application
npm i
#3. Start the expo
npx expo start
#4. Scan the QR code on your device or select the a - android or i - ios for emulator start (You need to have emulators installed)
Here is the list of commands that can be used to perform other tasks with the codebase.
npm run test
: Run the unit tests