v1.1.0
The major feature, multisigature distribution accounts for anchored assets, has a new documentation section explaining how to use the functionality outlined here.
Note: A v1.1.1 release will be pushed when the Stellar Python SDK has Protocol 14 support.
Features
-
Multi-signature Asset Distribution Account Support
- Up until now, distribution accounts for anchored assets needed to have a single master signer
- Now, anchors can improve the security of the account that controls outbound payments
-
Interactive JWTs are now One-Time-Tokens (OTTs)
- Previously, they were short-lived (expired quickly), but they could be used more than once within that timeframe
- Now,
token
s included in the interactive URLs can only be used to open a popup once
-
View/Modify Protected Distribution Account Seeds in the Django Admin Panel
- Due to the secret nature of distribution account seeds (Stellar secret keys), they were previously hidden
- Now, if you have the user permissions to edit assets, you can update the distribution seed in the Admin Panel
Database Migrations
Multi-signature asset support required a handful of new columns to be added between the two Transaction
and `Asset models.
New Transaction
Columns:
envelope_xdr
(TextField) (nullable)- The envelopes submitted to the network are now saved, regardless of simple/multisig account configurations
pending_signatures
(Boolean) (default:False
)- A
True/False
value indicating if the anchor is internally waiting for signatures to be collected for the transaction
- A
channel_seed
(TextField) (nullable)- The secret key for the channel account created to use as the source account on the multisig transaction
New Asset
Columns:
These fields are automatically managed by Polaris, no need to populate them yourself. Every time Polaris starts up, it will ping Horizon for the following values:
distribution_account_signers
(TextField) (nullable)- The JSON-serialized
signers
object returned from a request to Horizon's/accounts/<distribution account public key>
- The JSON-serialized
distribution_account_thresholds
(TextField) (nullable)- The JSON-serialized
thresholds
object returned from a request to Horizon's/accounts/<distribution account public key>
- The JSON-serialized
distribution_account_master_signer
(TextField) (nullable)- If the distribution account has a master signer, it will be fetched and saved here on application startup.