This guide is for NGOs, sponsors, and community organizers who want to create climate-action tasks on EcoTask.
- A Stellar wallet with some XLM for transaction fees
- Admin or sponsor access to the EcoTask platform
curl -X POST http://localhost:3000/tasks \
-H "Authorization: Bearer <admin-jwt>" \
-H "Content-Type: application/json" \
-d '{
"title": "Plant 10 Trees in Karura Forest",
"description": "Help reforest Karura Forest by planting 10 indigenous tree seedlings.",
"type": "TREE_PLANTING",
"rewardAmount": 50,
"lat": -1.2340,
"lng": 36.8320,
"radiusMeters": 500,
"maxCompletions": 20
}'| Type | Icon | Example |
|---|---|---|
| TREE_PLANTING | 馃尦 | Plant trees in designated areas |
| TRASH_COLLECTION | 鈾伙笍 | Collect and sort recyclable waste |
| OCEAN_CLEANUP | 馃寠 | Remove trash from beaches and oceans |
| GARDENING | 馃尡 | Maintain community gardens |
| EDUCATION | 馃摎 | Teach environmental awareness |
| OTHER | 馃搷 | Other climate-positive actions |
- Set realistic reward amounts based on task difficulty
- Include clear instructions and location details
- Set appropriate expiration dates
- Verify task locations are accessible to the community