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 ...
5
votes
Accepted
Master key weight set to 0
The whole point of setting the master key to 0 is to guarantee that you won't be able to make new transaction with the account. This proves that the configuration and amount of an asset won't change ...
4
votes
Accepted
TX_BAD_AUTH_EXTRA at submiting a transaction
So I finally found out what was the problem. The thresholds weren't set correctly. I leave here the correct ones:
setOptions({
setFlags: 3, // Operation.AuthFlags.Required | Operation.AuthFlags....
3
votes
Accepted
Receiving BaseEncodingException when signing transaction using TestNet : Invalid Input Length
You need to pass the account id encoding of the public key to the PaymentOperation builder. In other words, instead of passing destination.getPublicKey().toString() to the builder you should be ...
2
votes
Accepted
Geting signer of a signature
I'm not user of go, but I think the logic is the same for every language.
Here's how I do: I get the transaction sources accounts and compute the list of legit signers for this transaction, then I ...
2
votes
Creating account with additional signer
You can build a transaction with 2 operations in it to achieve this.
Setup:
A: G...ZAUC is your account
B: G...ONYI is the account you want to create
Transaction
Source of the transaction is A
...
1
vote
Accepted
How to change configuration of a custom coin after it has been Locked?
Once the account is locked, there is no way to unlock it or alter its state. It will remain locked and unusable forever. It is guaranteed on the protocol level.
You should start over with the new ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
signer × 12accounts × 4
multi-sig × 3
transactions × 2
assets × 2
horizon × 1
stellar-sdk × 1
java-sdk × 1
operations × 1
security × 1
go-sdk × 1
issuing × 1
set-options × 1
encoding × 1