Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 601 Bytes

README.md

File metadata and controls

41 lines (27 loc) · 601 Bytes

Tez Baker JS - A JS Tezos Baker

Do not use on Mainnet. This project is meant as a learning tool for the Tezos baking process.

Getting Started

Edit bake.js and add the necessary key and provider information:

const Baker = require('./index');

const SECRET_KEY = 'edsk...';

const main = async () => {
  const baker = new Baker('http://127.0.0.1:8732', 'main', 'carthage');
  await baker.importKey(SECRET_KEY);
  baker.start();
};

main();
npm install
node bake.js

Development

npm install
npm run build

License

MIT

Credits

Credits to Stephen Andrews