Skip to content

KarolTrzeszczkowski/Electron-Cash-Plugin-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Electron Cash Plugin Template

This project is a template that may serve as a foundation for new plugins for Electron Cash BCH wallet. It does exactly nothing, but registers itself in Electron Cash and unregisters. You can fill it with any functionality you like and add it to your wallet.

This template is basically EC Scheduled Payment Plugin by Roger Taylor, stripped from everything that makes any sense.

Renaming the plugin

Enter the directory where you unpacked the plugin and execute commands:

cp -r Electron-Cash-Plugin-Template-master/ my-plugin-name/; cd my-plugin-name

sed -i s/template/my-plugin-name/g manifest.json

sed -i s/template/my-plugin-name/g template/*

sed -i s/Template/'My Plugin Name'/g manifest.json

sed -i s/Template/'My Plugin Name'/g template/*

mv template my-plugin-name

You can do it "by hand" as well, just enter every file and change the name everywhere you see it. I recommend it if you are making your first plugin.

Packing the plugin

To pack your plugin execute: zip -r my-plugin-name manifest.json my-plugin-name/ Or simply select manifest.json and my-plugin-name/ file, right-click and create a zip archive.

Donate

donate bitcoincash:qq93dq0j3uez8m995lrkx4a6n48j2fckfuwdaqeej2

About

Electron Cash plugin template

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages