Skip to content

Commit

Permalink
feat/solana tbtc canonical (#298)
Browse files Browse the repository at this point in the history
* create associated account works

* fix base58 address convertion for Solana gateway program

* pull accounts from custodia account

* implement send< btct

* update tokenBridgeWrappedAsset account derivation to send tbtc to solana

* setup sender arguments

* [skip ci] - run prettier

* remove unecesary console.log

* remove unecesary console.log

* fix parameters to send back to L1

* create ata for the redeem process

* handle case for sending from non L1 to a non L1 evm chain

* cosmetic changes

* initialize associate token account if not exist

* call the gateway if the asset is tBtc v2

* [skip ci] - run prettier

* add mainnet address

* [skip ci] - bump version

* code review observation
  • Loading branch information
sebastianscatularo committed Aug 14, 2023
1 parent 7013e88 commit 33ee065
Show file tree
Hide file tree
Showing 10 changed files with 1,823 additions and 121 deletions.
249 changes: 227 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xlabs/portal-bridge-ui",
"version": "0.1.61",
"version": "0.1.62",
"private": true,
"dependencies": {
"@certusone/wormhole-sdk": "^0.9.22",
Expand All @@ -22,6 +22,7 @@
"@near-wallet-selector/near-wallet": "^7.9.1",
"@near-wallet-selector/nightly": "^7.9.1",
"@near-wallet-selector/sender": "^7.9.1",
"@project-serum/anchor": "^0.26.0",
"@project-serum/serum": "^0.13.60",
"@reduxjs/toolkit": "^1.6.1",
"@solana/spl-token": "^0.1.6",
Expand Down
Loading

0 comments on commit 33ee065

Please sign in to comment.