Q: How to install?A: Make sure you have NRS 1.7.4 installed. Download
https://bitbucket.org/blackyblack/quackplugin/downloads/quack-1.4.zip. Unzip into [NRS installation directory]/html/ui/plugins. Allow plugins for your account: open your NRS settings (click gear icon on the top right side of the wallet -> Settings), set Enable Plugins to Yes. Login to your wallet again and click Plugins->Quack.
Q: How to use?A:
To sell your assets:
Click "Create Swap" to create new swap offer. Set your recipient NXT account. Fill your assets for sale (eg choose Asset Type = Asset and Asset Id = 12982485703607823902 for CoinoUSD), set quantity of your assets for sale. Fill desired assets to receive (eg Asset Id = 12659653638116877017 for SuperBTC). Type your passphrase and click "Create" to initiate your swap offer. Now you should wait until the recipient sends his assets. Click refresh button with current blockchain height to update Quack history. You will see "Accept" button on your swap when the other side's assets are sent. Click this button to check details of the swap. If everything is fine type your passphrase and click "Accept" button.
To accept someone's sale offer:
Click refresh button with current blockchain height to update Quack history. You will see new swap offer with "Accept" button. Click "Accept" button to see details of the offer. We recommend to wait for 3 confirmations for safe exchange of the assets. If the offer is good for you type your passphrase and click "Accept" button.
See the tutorial here:
https://nxtforum.org/quack/quack-tutorial/Q: How to find a buyer?A: Create a post with your offer in the NXT Marketplace section of the forum:
https://nxtforum.org/nxt-marketplace/We recommend a specific template for your convinience:
Quack sell: <account> is selling up to N <asset name 1> (<asset id 1>) for M <asset name 2> (<asset id 2>) each. Deadline is K block/timestamp GMT.
eg: Quack sell: NXT-YTBB-LT9J-SRRR-7KLBQ is selling up to 10 CoinoUSD (12982485703607823902) for 0.022 SuperBTC (12659653638116877017) each. Deadline is 07/01/2016 22:48:44 GMT.
Now wait for incoming swap requests and accept them if they fit your offer. Add red "sold" mark to your offer on the forum when it is sold or over.
Q: Where is the source code repository?A:
https://bitbucket.org/blackyblack/quackpluginQ: How does it work?A: Alice initiates asset swap by preparing a trigger tx. She does not broadcast it but uses it's fullhash as linked hash for phased transactions.
Now she broadcasts phased transactions linked to trigger tx and sets finish height to some reasonable number (eg 100 blocks ahead).
Bob can see incoming transactions. He waits until they are confirmed and sends his own phased transactions linked to the same trigger tx. Ideally he uses the same finish height as Alice's transactions.
Alice checks if Bob's transactions are confirmed and she is OK with his offer. Now she broadcasts her trigger tx and all transfers are executed.
Q: I do not see new features. How to refresh the plugin?A: Open chrome dev tools with F12 -> click and hold refresh button -> choose "empty cache and hard reload". Or try the Incognito Mode.