A pioneering initiative will fund the protection and restoration of mangrove swamps by issuing voluntary carbon credits.