<p></p>
<p><b>@sqrrm</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/bisq-network/bisq/pull/4819#discussion_r533726037">core/src/main/java/bisq/core/api/model/PaymentAccountForm.java</a>:</p>
<pre style='color:#555'>> + * accountName=Hal Cash Acct,
+ * tradeCurrencies=[FiatCurrency(currency=EUR)],
+ * selectedTradeCurrency=FiatCurrency(currency=EUR)
+ * )
+ * </pre>
+ */
+@Singleton
+@Slf4j
+public class PaymentAccountForm {
+
+    private final GsonBuilder gsonBuilder = new GsonBuilder()
+            .setPrettyPrinting()
+            .serializeNulls();
+
+    // Names of PaymentAccount fields to exclude from json forms.
+    private final String[] excludedFields = new String[]{
</pre>
<p>You can set the salt, it's used as part of the hash to create the accountAgeWitness so it needs to be set to the same salt as previously if an account is to be created on a new client with the same details and account age preserved. Making it optional is reasonable I think. Default to generate a random salt, but if set then the user set salt will be used.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/pull/4819#discussion_r533726037">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNXAGJUY2YF57AZKOI3SSVMI7ANCNFSM4T2NLLUQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNWNUOMWEYS7NCY56SDSSVMI7A5CNFSM4T2NLLU2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOEBJN5ZI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/pull/4819#discussion_r533726037",
"url": "https://github.com/bisq-network/bisq/pull/4819#discussion_r533726037",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>