Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
thor1887 committed Jan 6, 2017
1 parent 7a0874f commit 0c20ff3
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion README.md
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

0 comments on commit 0c20ff3

Please sign in to comment.