@flaunch/sdk 0.9.9 → 0.9.11

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/README.md CHANGED
@@ -161,6 +161,20 @@ const hash = await flaunchWrite.flaunchIPFS({
161
161
  telegramUrl: "https://t.me/example",
162
162
  },
163
163
  });
164
+
165
+ // parse the logs from the tx hash to get memecoin address and Flaunch NFT tokenId
166
+
167
+ import { PoolCreatedEventData } from "@flaunch/sdk";
168
+
169
+ // Parse the flaunch transaction hash
170
+ const poolCreatedData: PoolCreatedEventData | null =
171
+ await flaunchRead.getPoolCreatedFromTx(hash);
172
+
173
+ if (poolCreatedData) {
174
+ console.log("Memecoin Address:", poolCreatedData.memecoin);
175
+ console.log("Token ID:", poolCreatedData.tokenId);
176
+ // ... other params
177
+ }
164
178
  ```
165
179
 
166
180
  #### How to generate `base64Image` from User uploaded file
@@ -5400,6 +5400,10 @@ const DopplerVerifierAddress = {
5400
5400
  [base.id]: "0xedd66b080b8e9425c39d349a3fb69f480580f993",
5401
5401
  [baseSepolia.id]: "0x6428b5C4da36ecB070aBdcB5E1939244A3cC7fb5",
5402
5402
  };
5403
+ const SolanaVerifierAddress = {
5404
+ [base.id]: "0xba28ac1540893a34476c24b2c4fa32e0506c9055",
5405
+ [baseSepolia.id]: "0x47226918e518f205584bd75bf81e0b532b0b3ea7",
5406
+ };
5403
5407
  const VirtualsVerifierAddress = {
5404
5408
  [base.id]: "0x06a089fa231aca48d2aa77365123ad9aca43d3a4",
5405
5409
  [baseSepolia.id]: "0x6582d2bc6a7eba3b40bdf46b3868fc7ec2ff96ec",
@@ -5513,6 +5517,7 @@ exports.PoolManagerAddress = PoolManagerAddress;
5513
5517
  exports.QuoterAddress = QuoterAddress;
5514
5518
  exports.ReferralEscrowAddress = ReferralEscrowAddress;
5515
5519
  exports.RevenueManagerAddress = RevenueManagerAddress;
5520
+ exports.SolanaVerifierAddress = SolanaVerifierAddress;
5516
5521
  exports.StakingManagerAddress = StakingManagerAddress;
5517
5522
  exports.StateViewAddress = StateViewAddress;
5518
5523
  exports.TokenImporterAddress = TokenImporterAddress;