Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for swapping USDT #549

Merged
merged 4 commits into from
Nov 5, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Keyguard client and forward token for Polygon transaction si…
…gning requests
  • Loading branch information
sisou committed Nov 5, 2024
commit a8533557f86d1bd876d2a9b98187f3aa79df7fee
4 changes: 4 additions & 0 deletions client/PublicRequestTypes.ts
Original file line number Diff line number Diff line change
@@ -645,6 +645,10 @@ export interface SignPolygonTransactionRequest extends BasicRequest, RelayReques
* methods 'redeem' and 'redeemWithSecretInData' for HTLCs.
*/
senderLabel?: string;
/**
* The token contract address. Required for calling the bridged HTLC contract.
*/
token?: string,
}

export interface SignedPolygonTransaction {
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@
"@nimiq/electrum-client": "https://github.com/nimiq/electrum-client#build",
"@nimiq/fastspot-api": "^1.10.2",
"@nimiq/iqons": "^1.5.2",
"@nimiq/keyguard-client": "https://gitpkg.vercel.app/nimiq/keyguard?scripts.postinstall=cd%20client%20%26%26%20.%2Fbuild-gitpkg.sh&38dfefaef131cfe12524ff3aba28e37a0fe09c33",
"@nimiq/keyguard-client": "https://gitpkg.vercel.app/nimiq/keyguard?scripts.postinstall=cd%20client%20%26%26%20.%2Fbuild-gitpkg.sh&3be7f01c13d981d79296dc225b46a4fcb42c3a6c",
"@nimiq/ledger-api": "^3.0.0",
"@nimiq/network-client": "^0.6.2",
"@nimiq/oasis-api": "^1.1.1",
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
@@ -2042,9 +2042,9 @@
btoa "^1.1.2"
node-lmdb "^0.9.6"

"@nimiq/keyguard-client@https://gitpkg.vercel.app/nimiq/keyguard?scripts.postinstall=cd%20client%20%26%26%20.%2Fbuild-gitpkg.sh&38dfefaef131cfe12524ff3aba28e37a0fe09c33":
"@nimiq/keyguard-client@https://gitpkg.vercel.app/nimiq/keyguard?scripts.postinstall=cd%20client%20%26%26%20.%2Fbuild-gitpkg.sh&3be7f01c13d981d79296dc225b46a4fcb42c3a6c":
version "1.0.0"
resolved "https://gitpkg.vercel.app/nimiq/keyguard?scripts.postinstall=cd%20client%20%26%26%20.%2Fbuild-gitpkg.sh&38dfefaef131cfe12524ff3aba28e37a0fe09c33#02dcb5a0db0ad4f970ef041f7e9f442a496999cc"
resolved "https://gitpkg.vercel.app/nimiq/keyguard?scripts.postinstall=cd%20client%20%26%26%20.%2Fbuild-gitpkg.sh&3be7f01c13d981d79296dc225b46a4fcb42c3a6c#dd4feb2f56672b02f4c994398d2525758c4a7109"

"@nimiq/ledger-api@^3.0.0":
version "3.0.0"
Loading