-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,27 @@ | ||
# stellar-extended-merge | ||
Fully merges a stellar account, copying all custom assets and offers | ||
The Stellar network account merge function will fail if the source account has sub entries; i.e custom assets or offers. | ||
This app fully merges a stellar account, copying all custom assets and offers. | ||
|
||
#How it works | ||
Here is a brief algorithm | ||
- Check if source account has custom assets/pending offers(sub-entries) | ||
- If custom assets | ||
- for each asset: | ||
- create trustlines for the assets on the destination account | ||
- transfer funds to destination account | ||
- remove trustlines from source account | ||
- If offers | ||
- create matching offer on destination account | ||
- delete offers on source account | ||
- call regular merge funtion | ||
|
||
#Notes | ||
- The transaction fee will be higher because of all the extra operations carried out before the merge | ||
- The secret seed of the destination account is required for this to work | ||
- All operations are grouped into one transaction so if any operation fails the whole merge fails | ||
|
||
#Web Page | ||
You can use the application here: [Web Page](https://thor1887.github.io/stellar-extended-merge/) | ||
|
||
#Feedback | ||
Comments and suggestions are welcome. Please use the issue tracker for bug reports |