Easily create static Etherium address QR code with ethereum-qr-code plugin
Tweet
//instantiate the plugin
const qr = new EtheriumQRplugin();
//static config value
const codeDetails = {
to: '0x7cB57B5A97eAbe94205C07890BE4c1aD31E486A8',
value: 1,
gas: 42,
size:180,
selector: '#ethereum-qr-code-simple',
options: {
margin: 2
}
};
//run the plugin
qr.toCanvas(codeDetails);