Skip to content

Commit

Permalink
Merge pull request #39 from leapwallet/main
Browse files Browse the repository at this point in the history
Release provider 0.1.16
  • Loading branch information
leapsamvel authored Sep 5, 2023
2 parents d30958e + 52a8aac commit 21f43ac
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 8 deletions.
13 changes: 13 additions & 0 deletions packages/cosmos-snap-provider/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,19 @@ await suggestChain({
bip44: {
coinType: 990,
},
feeCurrencies: [
{
coinDenom: "ucore",
coinMinimalDenom: "ucore",
coinDecimals: 6,
coinGeckoId: "coreum",
gasPriceStep: {
low: 0.0625,
average: 0.5,
high: 62.5,
},
},
],
});
```

Expand Down
2 changes: 1 addition & 1 deletion packages/cosmos-snap-provider/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@leapwallet/cosmos-snap-provider",
"version": "0.1.15",
"version": "0.1.16",
"repository": {
"url": "[email protected]:leapwallet/cosmos-metamask-snap.git"
},
Expand Down
14 changes: 7 additions & 7 deletions packages/cosmos-snap-provider/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ export type Snap = {

export type Bech32Config = {
readonly bech32PrefixAccAddr: string;
readonly bech32PrefixAccPub: string;
readonly bech32PrefixValAddr: string;
readonly bech32PrefixValPub: string;
readonly bech32PrefixConsAddr: string;
readonly bech32PrefixConsPub: string;
readonly bech32PrefixAccPub?: string;
readonly bech32PrefixValAddr?: string;
readonly bech32PrefixValPub?: string;
readonly bech32PrefixConsAddr?: string;
readonly bech32PrefixConsPub?: string;
};

type GasPriceStep = {
Expand Down Expand Up @@ -64,14 +64,14 @@ export type ChainInfo = {
};
readonly bech32Config: Bech32Config;

readonly currencies: AppCurrency[];
readonly currencies?: AppCurrency[];
/**
* This indicates which coin or token can be used for fee to send transaction.
* You can get actual currency information from Currencies.
*/
readonly feeCurrencies: FeeCurrency[];

image: string;
image?: string;
};

export type SignAminoOptions = {
Expand Down

0 comments on commit 21f43ac

Please sign in to comment.