A macroporous heparin-releasing silk fibroin scaffold improves islet transplantation outcome by promoting islet revascularisation and survival.