Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@krogla
Last active March 7, 2018 10:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save krogla/0766784d95cbf49153905586ec84ee41 to your computer and use it in GitHub Desktop.
Save krogla/0766784d95cbf49153905586ec84ee41 to your computer and use it in GitHub Desktop.
remove unused contracts from Mist
//rename unused contracts to '--' and run script
CustomContracts.find().fetch().map(
function(m) { if (m.name == '--') {CustomContracts.remove(m._id);}}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment