7 votes
Accepted

Why can a MultiSig transaction fail on too many signers?

Signatures verification consume significant CPU resources. Of course, using a dozen of signitures for each submitted transaction won't result in the network congestion, however it can slow down ledger ...
Orbit Lens's user avatar
  • 6,886
7 votes
Accepted

Storing Secret Key for Smart Contracts

Generally speaking, if you're owning all the accounts and everyone trusts you then I'd suggest adding your own private keys to the accounts instead of taking theirs. If you add your own key that is ...
MikeFair's user avatar
  • 396
6 votes
Accepted

hash(x) signer in lightning network

A hash(x) signature has no dependence on the transaction itself. As such, it is only a "signer" in the sense that it adds signing weight to a transaction. Once anyone has seen the corresponding hash ...
user3188445's user avatar
  • 1,221
6 votes
Accepted

Why is SHA256 a signature type option for a multisig transaction?

SHA-256 hash signer type is used for Hash(x) alternate signature type. Here is how it works: You pick a secret x - there are no restrictions on the value of x but for security reasons it should be a ...
Bartek Nowotarski's user avatar
5 votes
Accepted

Pre-authorized Transaction

So after some exploration of pre-authorized transactions, I have written a medium post on my findings and an example use case here. Yes, the basic approach is as follows: Create the two pre-...
Rob's user avatar
  • 627
4 votes
Accepted

How multisignature in a transaction can be implemented?

You can do it the way you mentioned (sequential collection), and it is probably the most straightforward way, but one cool thing about multisig is that the only thing that's signed is the hash of the ...
Paul's user avatar
  • 1,184
3 votes

Why is SHA256 a signature type option for a multisig transaction?

The SHA256 signature is one of the alternate signature types. You can safely use a public key of any Stellar account as a signer with a Set Options operation. Once you add the additional signer ...
Orbit Lens's user avatar
  • 6,886
3 votes
Accepted

Do tokens created through Stellar map one-to-one?

No. New tokens on Stellar are created through adding a trustline with a Change Trust operation. You can set up as many trustlines as you want so long as you fulfil the minimum account balance (...
Brian Ng's user avatar
  • 188
3 votes

Error in submitting the multisig transaction

The field result_xdr decodes to txBadSeq indicating that you've got a bad sequence number on that transaction.
Synesso's user avatar
  • 3,367
3 votes

Muliti Signature with hash(x) in goLang SDK

It looks like the SignatureHint for hash(x) in your transaction is invalid. Signature hint for hash(x) is the 4 last bytes of the hash, not the preimage. Fix required around: Hint: xdr.SignatureHint(...
Bartek Nowotarski's user avatar
2 votes

Messaging over Stellar - Is that right to do?

I can't speak for the SDF, but since you are asking about this, you probably already have guessed that this is not intended functionality. As such, I wouldn't rely on this behavior being there forever ...
Paul's user avatar
  • 1,184
2 votes

MultiSignature doubts

There is no difference, practically. No, because you can consume sequence numbers at low threshold just by using the source account.
user3188445's user avatar
  • 1,221
2 votes
Accepted

Dynamic collection of signatures

Currently it’s done completely off network - you need a way to share the transaction with the other parties and collect signatures. Several wallets and products do their own multisig coordination, and ...
Paul's user avatar
  • 1,184
2 votes
Accepted

Not able to sign the transaction

tx_bad_seq error means that current source account sequence doesn't match the sequence specified in the transaction itself. Tx sequence should be equal to account sequence + 1 to pass the verification....
Orbit Lens's user avatar
  • 6,886
2 votes
Accepted

Can't change Low Threshold to 0 in set options

It's possible, but you'll need one more Stellar account for this. Account QCHU (original account) will be unable to pay tx fees until you change the low threshold back to 0. Create one more Stellar ...
Orbit Lens's user avatar
  • 6,886
2 votes
Accepted

Mutiple opearations in single transaction

You can put multiple operations for different accounts (identified by the 'source' parameter in each operation) into the same transaction. If one operation fails then all operations will fail. Instead ...
sui's user avatar
  • 2,534
1 vote

SHA 256 Hash signing - key "XABDL..."

The "XABDL..." address you see is encoded, you can learn how to encode and decode it through SEP-23, you can also click here to view the code implementation. The following is an example ...
overcat's user avatar
  • 91
1 vote
Accepted

Non-blocking multi-sign of transaction

This is possible. Something like the following steps would help you.. (I took this directly from the JS SDK documentation) Use TransactionBuilder to build a new transaction. Make sure to set a long ...
jiujiteiro's user avatar
1 vote
Accepted

How to enable transaction fees with multi-sig?

Yes, exactly. That's the essence of the idea. To transfer the asset, user wallet software creates the transaction with 2 operations: transfer per se and bank fee. That's right. As an alternative, ...
Orbit Lens's user avatar
  • 6,886
1 vote

Why can a MultiSig transaction fail on too many signers?

My best guess: To clear any doubt about who exactly is in charge of a transaction. It would not make a technical difference if a 2-of-3 transaction is signed by [A,B], [B,C], [A,C] or [A,B,C] and even ...
sui's user avatar
  • 2,534
1 vote
Accepted

Why do transactions sent by a channel account do not appear in the operations history for the source account?

when you get the operations for an account (e.g /accounts/{multi_sig_account_id}/operations) it doesn't show the operations from the transaction submitted using the channel account. I guess it's ...
Orbit Lens's user avatar
  • 6,886
1 vote

Multi-sign transaction is not working

You are getting an error because of a bad sequence number. I know this because I decoded response.getResultXdr(). Here are some things you should know: When you call sourceAccount = server.accounts()....
Synesso's user avatar
  • 3,367
1 vote

Sharing transaction to more than one co- signers to get sign

As far as i know You need to send the XDR one by one after each signer signs it. Or else you can decode the XDR that send by signers and get the signing part separately and integrate with you existing ...
Sharmilan's user avatar
  • 421
1 vote

MultiSignature doubts

No difference. 0 === 1. Maybe?
Johan Stén's user avatar
  • 1,947
1 vote
Accepted

preAuthTx - matching transactions

As per the tutorial "Signers of this type are automatically removed from the account when a matching transaction is properly applied". What exactly is matching transaction ? Does that mean ...
cesarm's user avatar
  • 1,527
1 vote

Storing Secret Key for Smart Contracts

If you can avoid taking the secret key from the user it will reduce your liability and the user will be likely to trust your application or service. SEP-0007 introduces a custom URI Scheme web+...
nikhils's user avatar
  • 1,080
1 vote

Alternate signature - hash(x)

Which sha256 implementation are you using? Both sha.js (bundled with JavaScript StellarSDK) and native node implementation do not require padding.
Orbit Lens's user avatar
  • 6,886
1 vote
Accepted

Error in submitting the multisig transaction

(I'll start anew here) 4 issues spotted: Issue 1 I tried at Laboratory with doing a simple "Payment" from {alice_public_key} to a {second_public_addr}. Signed with and submitted this ...
cesarm's user avatar
  • 1,527
1 vote
Accepted

How to create multisig address from multiple seeds?

Not familiar with the Python SDK, but here is the basic idea: Overview Let's create a multi-signature account between two parties, Alice and Bob. This will be a 2-of-2 multi-signature account, ...
Rob's user avatar
  • 627
1 vote

op_bad_signer error when adding sha256 hash signer on Stellar private network

I found solutions by myself. After create Stellar Private Network, We must execute command to upgrade protocolversion to 9. $ stellar-core -c 'upgrades?mode=set&upgradetime=2018-01-31T20:00:00Z&...
Pitchayasak Senachai's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible