Announcing the Multisig repository
Image by @good-karma
Purpose
This repository includes several functions useful for setting multi-authority accounts. It is best used on par with this tutorial.
I have been asked by several users on Steem and Discord to organize the code in a repositiory so here I come!
Current Features
The current version is pretty rough but builds the fondamentals for using multisig :
Updating the account
A hardcoded example that shows how to update the account by adding new public keys or accounts, setting weights and a threshold, and this for either the owner, active or posting authority.
Creating tx
We show how to get the dynamic global properties and use them to create a tx for a transfer.
Sign with private keys
The tx is repeatedly signed with different accounts until reaching a weight greater than the threshold.
Broadcast the signed tx
Once enough accounts signed the tx, it is broadcasted to the blockchain
All these features are for now hardcoded for the sake of the example, but we ll create a dynamic interface in the future.
How to use?
- Clone this repository:
git clone https://github.com/stoodkev/multisig
- Install the project
npm install
Create a .env file with the required private keys
Change the account names and public keys , weights and thresholds in
updateAccounts.js
according to your specs.Run
npm run update
to update your account authoritiesChange the signing accounts and transfer information
Run
npm run sign
Check the result on steemd.com
Technology Stack
- NodeJs
- DSteem library
Roadmap
On the next update, I ll add some views and create forms to update the accounts in a user-friendly way, and sign and broadcast a json object passed as argument.
The goal is to move step by step from the hardcoded version of the code that was used as an example for the tutorial, to a dynamic interface.
How to contribute?
Everyone is welcome to contribute, either by submitting Pull Requests, submitting ideas or issues, or requesting new features. You can also contact me at @stoodkev on Discord and Steem Chat.
Pull Request
Update Account, Sign and Broadcast
GitHub Account
Repository
https://github.com/stoodkev/multisig
Hope this helps!
If you find it useful, please consider voting for me as a witness.
Your contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.
To view those questions and the relevant answers related to your post, click here.
Need help? Write a ticket on https://support.utopian.io/.
Chat with us on Discord.
[utopian-moderator]
Thank you for your review, @helo! Keep up the good work!
Great work! Keep it coming! ;)
Thanks
Hi @stoodkev!
Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server
Hey, @stoodkev!
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!
Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).
Want to chat? Join us on Discord https://discord.gg/h52nFrV.
Vote for Utopian Witness!
Hi, @stoodkev!
You just got a 100% upvote from SteemPlus!
To get higher upvotes, earn more SteemPlus Points (SPP). On your Steemit wallet, check your SPP balance and click on "How to earn SPP?" to find out all the ways to earn.
If you're not using SteemPlus yet, please check our last posts in here to see the many ways in which SteemPlus can improve your Steem experience on Steemit and Busy.
Hi @stoodkev how can I get in touch with you? I would Iike to talk to about the DTubeForum project I am running? Would you be open for a first chat? Thank you for taking your time. Greetings from Barcelona
Posted using Partiko iOS
Congratulations @stoodkev! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :
Click here to view your Board
If you no longer want to receive notifications, reply to this comment with the word
STOP
Do not miss the last post from @steemitboard:
This post has been included in today's SOS Daily News - a digest of all you need to know about the State of Steem.
Editor of the The State of Steem SoS Daily News.
Promoter of The State of Steem SoS Weekly Forums.
Editor of the weekly listing of steem radio shows, podcasts & social broadcasts.
Founder of the A Dollar A Day charitable giving project.