@vleap/warps-adapter-fastset 0.1.0-beta.40 → 0.1.0-beta.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +17 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +17 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -1476,7 +1476,7 @@ var getConfiguredFastsetClient = (config, chain2) => {
|
|
|
1476
1476
|
var FastsetTokens = [
|
|
1477
1477
|
{
|
|
1478
1478
|
chain: "fastset",
|
|
1479
|
-
identifier: "
|
|
1479
|
+
identifier: "0x37bb8861c49c6f59d869634557245b8640c2de6a2d3dffd6ad4065f6f67989f1",
|
|
1480
1480
|
name: "Ethereum",
|
|
1481
1481
|
symbol: "ETH",
|
|
1482
1482
|
decimals: 18,
|
|
@@ -1509,6 +1509,15 @@ var FastsetTokens = [
|
|
|
1509
1509
|
decimals: 6,
|
|
1510
1510
|
logoUrl: "https://assets.coingecko.com/coins/images/6319/small/USD_Coin_icon.png",
|
|
1511
1511
|
amount: 0n
|
|
1512
|
+
},
|
|
1513
|
+
{
|
|
1514
|
+
chain: "fastset",
|
|
1515
|
+
identifier: "0xfa575e7000000000000000000000000000000000000000000000000000000000",
|
|
1516
|
+
name: "Wrapped SET",
|
|
1517
|
+
symbol: "WSET",
|
|
1518
|
+
decimals: 18,
|
|
1519
|
+
logoUrl: "https://vleap.ai/images/tokens/set.svg",
|
|
1520
|
+
amount: 0n
|
|
1512
1521
|
}
|
|
1513
1522
|
];
|
|
1514
1523
|
|
|
@@ -2924,6 +2933,13 @@ var WarpFastsetWallet = class {
|
|
|
2924
2933
|
getAddress() {
|
|
2925
2934
|
return getWarpWalletAddressFromConfig3(this.config, this.chain.name);
|
|
2926
2935
|
}
|
|
2936
|
+
getPublicKey() {
|
|
2937
|
+
const privateKey = getWarpWalletPrivateKeyFromConfig(this.config, this.chain.name);
|
|
2938
|
+
if (!privateKey) return null;
|
|
2939
|
+
const privateKeyBytes = hexToUint8Array(privateKey);
|
|
2940
|
+
const publicKey = ed25519_exports.getPublicKey(privateKeyBytes);
|
|
2941
|
+
return uint8ArrayToHex(publicKey);
|
|
2942
|
+
}
|
|
2927
2943
|
};
|
|
2928
2944
|
|
|
2929
2945
|
// src/main.ts
|