Skip to content

Commit

Permalink
Merge pull request #20 from bobetbat/fix/ramp-native-currency
Browse files Browse the repository at this point in the history
fix: add native currency ramp link
  • Loading branch information
bobetbat authored Nov 9, 2022
2 parents 776bdfa + 53658e6 commit 6d3ce97
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ export const allowedNetworks: readonly NetworkInfo[] = Object.freeze([
rpc: 'https://poa-xdai-archival.gateway.pokt.network/v1/lb/626573f1aa777e00391a8d04',
blockExplorer: 'https://blockscout.com/xdai/mainnet',
currency: 'xDAI',
ramp: 'https://buy.ramp.network/?swapAsset=XDAI_XDAI&userAddress=',
decimals: 18,
contracts: {
ledger: '0xc2024b4Ff3764b8AEb5FCfB4f248124B80A2367a',
Expand Down Expand Up @@ -241,6 +242,7 @@ export const allowedNetworks: readonly NetworkInfo[] = Object.freeze([
rpc: 'https://poly-mainnet.gateway.pokt.network/v1/lb/626573f1aa777e00391a8d04',
blockExplorer: 'https://polygonscan.com',
currency: 'MATIC',
ramp: 'https://buy.ramp.network/?swapAsset=MATIC_MATIC&userAddress=',
decimals: 18,
contracts: {
ledger: '0xc2024b4Ff3764b8AEb5FCfB4f248124B80A2367a',
Expand Down
1 change: 1 addition & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export type NetworkMode = 'dev' | 'stage' | 'prod';

export interface NetworkInfo extends Network {
currency: string;
ramp?: string;
decimals: number;
rpc: string;
contracts: {
Expand Down

0 comments on commit 6d3ce97

Please sign in to comment.