Skip to content

Commit

Permalink
Merge pull request #323 from pendulum-chain/292-update-flow-to-start-…
Browse files Browse the repository at this point in the history
…off-ramping-from-evm-networks

Start off-ramping from evm networks
  • Loading branch information
gianfra-t authored Jan 7, 2025
2 parents a88123d + 1498306 commit ed95ba2
Show file tree
Hide file tree
Showing 72 changed files with 1,556 additions and 896 deletions.
8 changes: 8 additions & 0 deletions signer-service/src/api/services/alchemypay.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,14 @@ function getAlchemyPayNetworkCode(network) {
switch (network.toUpperCase()) {
case 'POLYGON':
return 'MATIC';
case 'BSC':
return 'BSC';
case 'ARBITRUM':
return 'ARBITRUM';
case 'AVALANCHE':
return 'AVAX';
case 'ETHEREUM':
return 'ETH';
default:
return network;
}
Expand Down
7 changes: 1 addition & 6 deletions signer-service/src/api/services/transak.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,7 @@ async function priceQuery(cryptoCurrency, fiatCurrency, cryptoAmount, network, i
// Helper function to get the network code for Transak. It seems like Transak just uses the commonly known network names
// as the code for the network parameter in their API so we just return the network as is.
function getTransakNetworkCode(network) {
switch (network.toUpperCase()) {
case 'POLYGON':
return 'polygon';
default:
return network;
}
return network.toLowerCase();
}

function getCryptoCode(fromCrypto) {
Expand Down
37 changes: 37 additions & 0 deletions src/assets/chains/arbitrum.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/assets/chains/avalanche.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/assets/chains/base.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions src/assets/chains/bsc.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions src/assets/chains/ethereum.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions src/assets/coins/USDC_ARBITRUM.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions src/assets/coins/USDC_AVALANCHE.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions src/assets/coins/USDC_BASE.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit ed95ba2

Please sign in to comment.