Announcing the Multisig repositorysteemCreated with Sketch.

in #utopian-io5 years ago (edited)


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 authorities

  • Change 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

https://github.com/stoodkev

Repository

https://github.com/stoodkev/multisig

Hope this helps!

If you find it useful, please consider voting for me as a witness.

Sort:  

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) :

You received more than 20000 upvotes. Your next target is to reach 25000 upvotes.

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:

SteemWhales has officially moved to SteemitBoard Ranking
SteemitBoard - Witness Update

You can upvote this notification to help all Steemit users. Learn why here!

This post has been included in today's SOS Daily News - a digest of all you need to know about the State of Steem.



Coin Marketplace

STEEM 0.35
TRX 0.12
JST 0.040
BTC 71539.00
ETH 3603.23
USDT 1.00
SBD 4.75