News
19 May 2025, 11:07
Bitget Announces Support for Tether (USDT) on the KAIA Network
Victoria, Seychelles, May 19th, 2025, Chainwire Bitget , the leading cryptocurrency exchange and Web3 company has announced the successful integration of Tether (USDT) on the KAIA network. As of today, users can seamlessly deposit and withdraw USDT via the KAIA blockchain, further expanding Bitget’s multi-chain support and providing greater flexibility for asset management. The addition of USDT on the KAIA network underscores Bitget’s commitment to offering diverse and efficient blockchain options for its global user base. The new service is fully operational, and users can now retrieve their USDT–KAIA deposit addresses directly through the platform . This enhancement is part of Bitget’s continuous efforts to broaden its ecosystem and provide traders and investors with faster, cost-effective transaction options across emerging blockchain networks. The KAIA network integration facilitates low-latency operations, improved scalability, and an optimized environment for stablecoin transfers. To learn more, users can visit Bitget here . About Bitget Established in 2018, Bitget is the world’s leading cryptocurrency exchange and Web3 company. Serving over 120 million users in 150+ countries and regions, the Bitget exchange is committed to helping users trade smarter with its pioneering copy trading feature and other trading solutions, while offering real-time access to Bitcoin price , Ethereum price , and other cryptocurrency prices. Formerly known as BitKeep, Bitget Wallet is a world-class multi-chain crypto wallet that offers an array of comprehensive Web3 solutions and features including wallet functionality, token swap, NFT Marketplace, DApp browser, and more. Bitget is at the forefront of driving crypto adoption through strategic partnerships, such as its role as the Official Crypto Partner of the World’s Top Football League, LALIGA , in EASTERN, SEA and LATAM markets, as well as a global partner of Turkish National athletes Buse Tosun Çavuşoğlu (Wrestling world champion), Samet Gümüş (Boxing gold medalist) and İlkin Aydın (Volleyball national team), to inspire the global community to embrace the future of cryptocurrency. For more information, visit: Website | Twitter | Telegram | LinkedIn | Discord | Bitget Wallet For media inquiries, please contact: [email protected] Risk Warning: Digital asset prices are subject to fluctuation and may experience significant volatility. Investors are advised to only allocate funds they can afford to lose. The value of any investment may be impacted, and there is a possibility that financial objectives may not be met, nor the principal investment recovered. Independent financial advice should always be sought, and personal financial experience and standing carefully considered. Past performance is not a reliable indicator of future results. Bitget accepts no liability for any potential losses incurred. Nothing contained herein should be construed as financial advice. For further information, please refer to our Terms of Use . Contact Public Relations Media Bitget [email protected]
19 May 2025, 10:55
Buterin: Stateless Nodes Let Ethereum L1 Gas Limit Jump 10x To 100x
Vitalik Buterin has highlighted the need to maintain Ethereum’s decentralization. Node operators must be confident of their security when connecting to external RPCs. Buterin is concerned about skyrocketing costs and potential security threats. Ethereum co-founder Vitalik Buterin has highlighted the need to maintain the network’s decentralization properties while attempting to improve its speed. Despite acknowledging the need to scale Ethereum using L1 protocols, Buterin noted that maintaining a decentralized node operation is non-negotiable. JUST IN: @VitalikButerin emphasizes that #Ethereum L1 scaling should improve network speed without compromising decentralized node operation. More Updates https://t.co/UlAbs2AXSb pic.twitter.com/AgcWrNKI2u — Coin Edition: Your Crypto News Edge (@CoinEdition) May 19, 2025 Buterin on Ethereum Scaling: Decentralization and Node Integrity First In a recently published report, Buterin explained the need to maintain a high level of decentralization, noting critical aspects of the Ethereum network that should not be tampered with while implementing scaling solutions. Related: Ethereum Scaling: Why L2 Protocols … The post Buterin: Stateless Nodes Let Ethereum L1 Gas Limit Jump 10x To 100x appeared first on Coin Edition .
19 May 2025, 10:54
Bitcoin Pepe may gain traction as CME launches XRP Futures ETF
XRP and other cryptocurrencies remain in focus ahead of CME’s launch of the XRP Futures ETF on Monday, which is being touted as a major milestone for digital assets at large. Investors are convinced that the launch of XRP Futures ETF will help boost institutional demand for Ripple’s native coin. Additionally, the futures exchange-traded fund is also being seen as a potential catalyst that could pave the way for the US Securities and Exchange Commission to eventually approve the pending applications for Spot XRP ETFs as well. All in all, these developments are broadly expected to help improve the mainstream adoption of cryptocurrencies over the next few years. According to lawyer Bill Morgan: These are futures contracts. Do you know what that means for demand for XRP? Aren’t these cash-settled futures contracts? And this institutional demand and mainstream adoption of XRP could have a trickle-down effect on other crypto assets and meme coins like Bitcoin Pepe as well. Retail investors could turn to meme coins as CME launches XRP Futures ETF The launch of XRP Futures ETF today marks a significant milestone for the broader crypto market. Institutional adoption of Ripple’s native coin through futures contracts signals growing confidence in digital assets, which could extend to speculative tokens. Historically, major crypto developments, such as Bitcoin ETFs launch, have triggered increased liquidity and investor interest in altcoins and meme coins in the succeeding weeks and months. With institutions potentially turning to XRP on the back of CME’s futures exchange-traded fund, meme coins built on other established networks, like Bitcoin Pepe and Puffer, could benefit from heightened market enthusiasm as well. Investors seeking high-risk, high-reward opportunities may turn to these meme coins as a way to capitalise on the broader crypto rally. Additionally, the legitimization of XRP through an ETF could pave the way for similar financial products for meme coins in the future, further integrating them into the traditional financial ecosystem. What makes Bitcoin Pepe a particularly exciting investment for 2025 Bitcoin Pepe stands to particularly benefit from the launch of an XRP Futures ETF as it combines Bitcoin’s security with the viral appeal of meme culture. Built on the Bitcoin blockchain using the BRC-20 token standard, decentralisation and scarcity sit right at the heart of Bitcoin Pepe, making it an intriguing asset for investors in 2025. Unlike many meme coins that rely on Ethereum or Binance Smart Chain, Bitcoin Pepe leverages Bitcoin’s robust infrastructure, ensuring greater security and resilience. Its fixed supply model enhances scarcity, potentially driving long-term value. Additionally, Bitcoin Pepe fosters a strong community-driven ecosystem, where holders actively participate in shaping its future. While meme coins are often dismissed as speculative assets, Bitcoin Pepe’s integration with Bitcoin’s blockchain gives it a unique edge, positioning it as a potential leader in the next wave of meme coin adoption. If you’re interested in participating in Bitcoin Pepe’s ongoing presale that has already raised more than $9.4 million, click here to visit its website now. The post Bitcoin Pepe may gain traction as CME launches XRP Futures ETF appeared first on Invezz
19 May 2025, 10:39
Judge Torres Shatters SEC-Ripple Deal, Stirring Turmoil in Crypto Regulation
Judge Analisa Torres has ruled that the joint request by the U.S. Securities and Exchange Commission (SEC) and Ripple to approve a settlement is “procedurally improper,” thereby keeping the long-running legal dispute alive. The decision was revealed in a May 15 filing submitted to the U.S. District Court for the Southern District of New York. Judge Declares Crypto Settlement Request Procedurally Improper The decision comes just over a week after both Ripple and the federal regulator submitted a proposed settlement agreement aimed at effectively ending the SEC’s civil enforcement action against the crypto firm. “By styling their motion as one for “settlement approval,” the parties fail to address the heavy burden they must overcome to vacate the injunction and substantially reduce the Civil Penalty,” Torres wrote. In a statement published on the SEC’s website on May 8, the two parties had stated that they would seek a limited remand to the district court, after which they would move to dismiss their respective appeals against the final judgment, should Torres reject their request. In March 2025, Ripple and the SEC reached a settlement. Under the agreement, Ripple would pay $50 million of the previously imposed fine, with the remaining $75 million returned to the company. #XRPCommunity #SECGov v. #Ripple #XRP Judge Torres has denied the parties’ motion for an indicative ruling. “If jurisdiction were restored to this Court, the Court would deny the parties’ motion as procedurally improper.” pic.twitter.com/4s95ILvzsy — James K. Filan (@FilanLaw) May 15, 2025 Meanwhile, Ripple has been expanding its operations across different regions, particularly the Middle East. The company announced on Monday that Zand Bank and fintech firm Mamo will integrate Ripple Payments, its blockchain-powered cross-border payments platform. Earlier this month, pharmaceutical distribution company Wellgistics announced plans to integrate XRP into its payment and treasury operations, making it one of the first publicly traded firms to do so. The Florida-based company said it aims to leverage XRP’s blockchain infrastructure to improve transaction speeds and lower settlement costs for pharmacies, suppliers, and manufacturers. SEC Shifts Its Stance on Cryptocurrency The court’s pushback comes as the SEC, under the current administration of President Donald Trump, signals a move toward a more crypto-friendly regulatory framework for digital assets. Trump, who emphasized a pro-crypto stance during his campaign, appointed former SEC Commissioner Paul Atkins to lead the agency. Atkins is expected to take a markedly more accommodating approach to blockchain sector regulation compared to his predecessor, Gary Gensler, who was known for his aggressive enforcement-driven regulatory strategy. The agency has already dropped its lawsuits against Coinbase and Cumberland DRW earlier this year, and a separate investigation into Uniswap Labs closed in February without enforcement action. The agency also closed its investigation into CyberKongz , a prominent Ethereum-based NFT and gaming project, with no enforcement action taken, the team announced on Tuesday. More recently, the SEC announced it would not pursue further legal action against Richard Schueler, better known as Richard Heart, the founder of Hex, PulseChain, and PulseX. The post Judge Torres Shatters SEC-Ripple Deal, Stirring Turmoil in Crypto Regulation appeared first on Cryptonews .
19 May 2025, 10:21
Ripple makes UAE inroads amid XRP slump and lingering SEC uncertainty
Ripple has partnered with UAE-based firms Zand Bank and Mamo to use its Ripple Payments technology. In an official announcement, the company described the move as building on momentum after securing its license from the Dubai Financial Services Authority (DFSA). The San Francisco-based fintech became the first blockchain-enabled payment provider in the United Arab Emirates in March and has been onboarding local firms to use its payment solutions. According to the firm, the new partnerships highlight how important securing the license is for its business. Zand Bank is an AI-powered neobank offering crypto custody services and plans to launch an AED-backed stablecoin. On its part, Mamo is a payment software company focused on businesses and corporate entities. Ripple Managing director for Middle East and Africa, Recce Merrick, noted that the DFSA License allows Ripple to meet customers’ demand more efficiently and allows UAE companies to enjoy blockchain-based cross-border payment solutions with none of the cons of traditional payments. He said: “As the global cross-border payments market grows, the leadership demonstrated by authorities in the UAE to create a supportive environment for crypto innovation has positioned the nation and its native companies to benefit from the transformative power of blockchain technology.” The firm added that demand for its payment solutions has increased in the Middle East, with both traditional and crypto-native firms showing interest. Ripple cited its 2025 New Value Report, which shows that 64% of finance leaders in Africa and the Middle East consider speed the key reason for adopting blockchain technology for their cross-border payments. Ripple expands as a blockchain payments and infrastructure company Meanwhile, onboarding two new clients in the UAE is only part of Ripple’s expansion efforts. The firm is positioning itself as a blockchain payments and infrastructure company, boasting over 60 regulatory licenses worldwide. The company claims its Ripple Payments are available in over 70 payout markets worldwide, including the US, Brazil, UAE, Switzerland, Mexico, and Australia. It also recently acquired crypto brokerage firm Hidden Road for $1.25 billion. Hidden Road is licensed under the Market in Crypto Assets (MiCA) framework for EU countries. This means the strategic acquisition could give Ripple access to the European markets once that deal is finalized. Interestingly, pseudonymous crypto researcher SMQKE believes that Ripple has indirect access to the US Federal Reserve Master Account, which allows financial institutions to settle payments in Central Bank money. SMQKE explained that Ripple does not have direct access because it is not a regulated depository institution. However, the firm’s partnership with Finastra, one of the major banking tech providers integrated with the FedNow Service, gives it indirect access through the Liquidity Management Tool. He said: “The key component here is the Liquidity Management Tool (LMT), a feature within FedNow that enables private sector instant payment services like Ripple to route transactions through tech providers such as Finastra and settle in central bank money via participating banks that do have Master Accounts.” Despite its expansion efforts, the company is still facing some headwinds. A key one is the settlement with the Securities and Exchange Commission over the status of XRP. A settlement agreement between SEC and Ripple is yet to be finalized after Judge Analisa Torres denied a motion for an indicative ruling as being procedurally improper. XRP is down amidst a broader market decline While Ripple might be expanding its tentacles, XRP is down more than 3% in the last 24 hours. The drop in value appears to be due to the general market decline caused by Bitcoin soaring above $107,00 before crashing to $103,000. Still, the XRP drop means the token has now wiped off all its gains year-to-date, even as it is still up 10.69% in the last 30 days. The token had a massively positive performance towards the close of 2024 and early 2025 but has struggled to maintain that momentum despite the positive developments in the crypto sector. Nevertheless, it is not alone in the disappointing performance this year. All the major altcoins have also performed below expectations, with most of them currently at a double-digit percentage decline from their value at the start of 2025. Meanwhile, XRP Futures is set to start trading on the Chicago Mercantile Exchange (CME) on May 19. Investors will expect that news to positively impact XRP value. KEY Difference Wire helps crypto brands break through and dominate headlines fast
19 May 2025, 10:17
XRP Price Prediction if Ripple IPO Goes Public
The post XRP Price Prediction if Ripple IPO Goes Public appeared first on Coinpedia Fintech News A new post by Italian crypto expert Fabio Zuccara is turning heads in the XRP community. It explores a bold scenario: what if Ripple goes public and eventually matches the market value of tech giants like Google, Apple, or Microsoft? What would that mean for XRP’s price ? Let’s break it down. Ripple’s Current Status At present, XRP is the fourth-largest cryptocurrency , with a market capitalization of $137.36 billion and a 24-hour trading volume of $3.11 billion . XRP has a circulating supply of 58.62 billion coins , and its current price stands at $2.34 — marking a staggering 343.1% increase in the past year . Meanwhile, Ripple Labs , the company behind XRP’s technology, has an estimated valuation of $10.88 billion . Grok’s XRP Price Prediction if Ripple Goes Public As per Grok , the AI chatbot from Elon Musk’s xAI , to simulate how XRP’s price could evolve based on Ripple’s hypothetical IPO and massive future growth. Here’s what the Grok-powered scenario analysis suggests: If Ripple’s valuation matches Google ($2.021 trillion), XRP could reach $440.46 If Ripple matches Apple ($3.155 trillion), XRP could hit $687.47 If Ripple equals Microsoft ($3.376 trillion), XRP could soar to $735.58 Note : Although Ripple and XRP are separate entities, the analysis assumes XRP’s value is closely tied to Ripple’s success — a common perspective among many investors. XRP to $735: Is It a Realistic Prediction? Despite the excitement, many crypto analysts are skeptical. Most experts suggest that XRP could reach between $3 and $20 by 2030 in a more realistic scenario. Crypto analyst Zuccara acknowledges that a $735 price point for XRP would require: Global crypto adoption Clear and supportive regulations Massive institutional investment And above all, Ripple actually going public .article-inside-link { margin-left: 0 !important; border: 1px solid #0052CC4D; border-left: 0; border-right: 0; padding: 10px 0; text-align: left; } .entry ul.article-inside-link li { font-size: 14px; line-height: 21px; font-weight: 600; list-style-type: none; margin-bottom: 0; display: inline-block; } .entry ul.article-inside-link li:last-child { display: none; } Also Read : XRP Price News: Key Support, Resistance, and What to Expect On May 19 , Ripple IPO: Not Happening Anytime Soon While the idea of a Ripple IPO is appealing to many investors , Ripple CEO Brad Garlinghouse has previously clarified that there are no plans for an IPO in the near future . Until Ripple officially announces otherwise, such predictions — while fascinating — remain speculative. Final Thoughts While Grok’s AI-based scenario adds an interesting layer to the XRP price discussion, it’s important to remember the difference between possibility and probability . The $735 target is based on ideal conditions that may not unfold. Still, the post has successfully reignited conversations around Ripple’s future — and what that could mean for XRP holders. .article_register_shortcode { padding: 18px 24px; border-radius: 8px; display: flex; align-items: center; margin: 6px 0 22px; border: 1px solid #0052CC4D; background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(0, 82, 204, 0.1) 100%); } .article_register_shortcode .media-body h5 { color: #000000; font-weight: 600; font-size: 20px; line-height: 22px; text-align:left; } .article_register_shortcode .media-body h5 span { color: #0052CC; } .article_register_shortcode .media-body p { font-weight: 400; font-size: 14px; line-height: 22px; color: #171717B2; margin-top: 4px; text-align:left; } .article_register_shortcode .media-body{ padding-right: 14px; } .article_register_shortcode .media-button a { float: right; } .article_register_shortcode .primary-button img{ vertical-align: middle; width: 20px; margin: 0; display: inline-block; } @media (min-width: 581px) and (max-width: 991px) { .article_register_shortcode .media-body p { margin-bottom: 0; } } @media (max-width: 580px) { .article_register_shortcode { display: block; padding: 20px; } .article_register_shortcode img { max-width: 50px; } .article_register_shortcode .media-body h5 { font-size: 16px; } .article_register_shortcode .media-body { margin-left: 0px; } .article_register_shortcode .media-body p { font-size: 13px; line-height: 20px; margin-top: 6px; margin-bottom: 14px; } .article_register_shortcode .media-button a { float: unset; } .article_register_shortcode .secondary-button { margin-bottom: 0; } } Never Miss a Beat in the Crypto World! Stay ahead with breaking news, expert analysis, and real-time updates on the latest trends in Bitcoin, altcoins, DeFi, NFTs, and more. .subscription-options li { display: none; } .research-report-subscribe{ background-color: #0052CC; padding: 12px 20px; border-radius: 8px; color: #fff; font-weight: 500; font-size: 14px; width: 96%; } .research-report-subscribe img{ vertical-align: sub; margin-right: 2px; } Subscribe to News var templateIds = "6"; var listOfSubscribed = []; function subscribed_popupmodal(template_id) { var templateId = '6'; getAllSubscriberCategoryList([templateId]); var subcribemodal = window.parent.document.getElementById('subscribe-modal-design'); if (subcribemodal) { var modalContent = ` Never Miss a Beat in the Crypto World! Stay informed and gain the edge you need to navigate the crypto world. Select your subscription now Daily Get real-time crypto news, market insights, and blockchain updates. Weekly Stay updated with major trends, funding news, and price analysis. Monthly Receive a detailed report with market analysis and expert predictions. Subscribe Now `; subcribemodal.innerHTML = modalContent; } subscribe_unsubscribe_status(template_id); //getAllSubscriberCategoryList(template_id); } function toggleSubscription(subscription, template_id) { var subscriptionCheckbox = document.getElementById(subscription + '_' + template_id); var li = document.getElementById(subscription + 'Selected_' + template_id); if (subscriptionCheckbox.checked) { li.classList.add('active'); } else { li.classList.remove('active'); } } function getAllSubscriberCategoryList(getcategoryId) { jQuery.ajax({ url: 'https://coinpedia.org/wp-admin/admin-ajax.php', type: 'GET', data: { action: 'subscribe_api_ajax_request', apiurl: '/app/email_newsletter/list', }, success: function(response) { var result = JSON.parse(response.message); if (result.status === true) { var idstosubscribed = [] // Populate listOfSubscribed with subscribed category IDs result.message.forEach(listofcategory => { if (listofcategory.subscribe_status === 1) { if (!listOfSubscribed.includes(listofcategory._id)) { listOfSubscribed.push(listofcategory._id); } if (!idstosubscribed.includes(listofcategory.news_cp_category_row_id)) { idstosubscribed.push(listofcategory.news_cp_category_row_id); } } }); idstosubscribed.forEach(id => { var subscribeButton = document.getElementById('subscribe_' + id); var unsubscribeButton = document.getElementById('unsubscribe_' + id); if (subscribeButton && unsubscribeButton) { subscribeButton.style.display = 'none'; unsubscribeButton.style.display = 'block'; var showDownloadReport = document.getElementById('download_report'); if (showDownloadReport) { showDownloadReport.style.display = 'block'; } } }); } }, error: function(xhr, status, error) { console.error('Error:', error); } }); } function subscribe_unsubscribe_status(getcategoryId) { var elementTounsubscribe = parent.document.getElementById('unsubscribe_' + getcategoryId); var elementTosubscribe = parent.document.getElementById('subscribe_' + getcategoryId); jQuery.ajax({ url: 'https://coinpedia.org/wp-admin/admin-ajax.php', type: 'POST', data: { action: 'subscribe_api_ajax_request', apiurl: '/app/email_newsletter/list?category_row_id=' + getcategoryId, }, success: function(response) { var result = JSON.parse(response.message); if (result.status === true) { parent.jQuery('.skeliton-loader-block').hide(); var hasSubscribeStatusOne = false; result.message.forEach(subscribeStatus => { if (listOfSubscribed.includes(subscribeStatus._id) && subscribeStatus.subscribe_status === 1) { hasSubscribeStatusOne = true; } if (subscribeStatus.notification_type === 3) { parent.document.getElementById('monthlySelected_' + getcategoryId).style.display = 'block'; parent.document.getElementById('monthly_' + getcategoryId).setAttribute('data-id', subscribeStatus._id); if (subscribeStatus.subscribe_status === 1) { parent.document.getElementById('monthly_' + getcategoryId).checked = true; } } else if (subscribeStatus.notification_type === 2) { parent.document.getElementById('weeklySelected_' + getcategoryId).style.display = 'block'; parent.document.getElementById('weekly_' + getcategoryId).setAttribute('data-id', subscribeStatus._id); if (subscribeStatus.subscribe_status === 1) { parent.document.getElementById('weekly_' + getcategoryId).checked = true; } } else if (subscribeStatus.notification_type === 1) { parent.document.getElementById('dailySelected_' + getcategoryId).style.display = 'block'; parent.document.getElementById('daily_' + getcategoryId).setAttribute('data-id', subscribeStatus._id); if (subscribeStatus.subscribe_status === 1) { parent.document.getElementById('daily_' + getcategoryId).checked = true; } } if (subscribeStatus.subscribe_status === 1) { listOfSubscribed.push(subscribeStatus._id); } }); if (hasSubscribeStatusOne) { elementTosubscribe.style.display = 'none'; elementTounsubscribe.style.display = 'block'; } else { elementTosubscribe.style.display = 'block'; elementTounsubscribe.style.display = 'none'; } } }, error: function(xhr, status, error) { console.error('Error:', error); } }); } function logSelectedSubscriptions(categoryid) { var unsubscribemodal = document.querySelector('.unsubscribed-popup-modal .modal'); var subscribedmodal = document.querySelector('.subscribed-popup-modal .modal'); unsubscribemodal.innerHTML=''; subscribedmodal.innerHTML=''; var selectedSubscriptions = []; var storeCheckedId = []; var checkboxes = document.querySelectorAll('#subscription-options-' + categoryid + ' input[type="checkbox"]'); var errorMessage = document.getElementById('error-message-select'); // Use a Set to handle unique data-ids var uniqueSubscribedIds = new Set(listOfSubscribed); checkboxes.forEach(function(checkbox) { var dataId = parseInt(checkbox.getAttribute('data-id')); if (checkbox.checked) { selectedSubscriptions.push(checkbox.id); storeCheckedId.push(dataId); } else { uniqueSubscribedIds.delete(dataId); // Remove unchecked data-id } }); // Update listOfSubscribed with unique values listOfSubscribed = Array.from(uniqueSubscribedIds); var selectedSubscriptionsString = selectedSubscriptions.join(', '); var concatinateSubscribeId = [...new Set(storeCheckedId.concat(listOfSubscribed))]; var categoryData = { 'subscribed_categories': concatinateSubscribeId }; var requestSubscriberData = { action: 'handle_dynamic_api_request_with_headers', security: 'a2fd45a48a', endpoint: '/app/email_newsletter/update_categories', token: '', data: categoryData }; jQuery.ajax({ url: 'https://coinpedia.org/wp-admin/admin-ajax.php', type: 'POST', data: requestSubscriberData, beforeSend: function(xhr) { xhr.setRequestHeader('X-Requested-With', 'XMLHttpRequest'); }, success: function(response) { try { response = response.data; if (storeCheckedId.length === 0) { var unsubcribedPopUpmodal = ` You’ve Unsubscribed Successfully We're sorry to see you go! Your subscription has been canceled. If you change your mind, you can re-subscribe anytime. Thank you for being part of our community! `; unsubscribemodal.innerHTML = unsubcribedPopUpmodal; document.querySelector('#subscribe-modal-design .modal').style.display = 'none'; unsubscribemodal.style.display = 'block'; unsubscribemodal.classList.remove('hide'); unsubscribemodal.classList.add('show'); document.getElementById('subscribe_' + categoryid).style.display = 'block'; document.getElementById('unsubscribe_' + categoryid).style.display = 'none'; var showDownloadReport = document.getElementById('download_report'); if (showDownloadReport) { showDownloadReport.style.display = 'none'; } } else { var subscribedPopupModal = ` Thank you for subscribing! Thank you for subscribing to our crypto and blockchain newsletter! You’ll now receive the latest news, insights, and updates straight to your inbox. Welcome to our community! `; let selectedSubscriptionsArray = selectedSubscriptionsString.split(','); let subscribedCategories = selectedSubscriptionsArray.map(subscription => subscription.split('_')[0]); let subscribedCategoriesString = subscribedCategories.join(', '); subscribedmodal.innerHTML = subscribedPopupModal; if (document.getElementById('selectidname')) { document.getElementById('selectidname').textContent = subscribedCategoriesString; } document.querySelector('#subscribe-modal-design .modal').style.display = 'none'; subscribedmodal.style.display = 'block'; subscribedmodal.classList.remove('hide'); subscribedmodal.classList.add('show'); document.getElementById('subscribe_' + categoryid).style.display = 'none'; document.getElementById('unsubscribe_' + categoryid).style.display = 'block'; var showDownloadReport = document.getElementById('download_report'); if (showDownloadReport) { showDownloadReport.style.display = 'block'; } } } catch (e) { console.error('Error parsing response:', e); } }, }); } function closeModal(template_id) { var modalId = template_id; var modal = document.querySelector('#' + modalId); // Using querySelector to find the modal if (modal) { modal.classList.add('hide'); modal.classList.remove('show'); setTimeout(function() { modal.style.display = 'none'; }, 500); } else { console.warn('Modal not found:', modalId); } } function closeunsubscribemodal() { var unsubscribemodal = document.querySelector('.unsubscribed-popup-modal .modal'); if (unsubscribemodal) { unsubscribemodal.classList.add('hide'); unsubscribemodal.classList.remove('show'); } setTimeout(function() { unsubscribemodal.style.display = 'none'; }, 500); } function closesubscribemodal() { var subscribedmodal = document.querySelector('.subscribed-popup-modal .modal'); setTimeout(function() { subscribedmodal.style.display = 'none'; }, 500); if (subscribedmodal) { subscribedmodal.classList.add('hide'); subscribedmodal.classList.remove('show'); } } function withoutLoginClicked(withoutlogin_id) { localStorage.setItem('subscribe_without_Login', 'true'); localStorage.setItem('subscribe_clicked_id', withoutlogin_id); } document.addEventListener('DOMContentLoaded', function() { const subscribewithoutData = localStorage.getItem('subscribe_without_Login'); const subscribe_clicked_cat_id = localStorage.getItem('subscribe_clicked_id'); // Function to get cookies function getCookie(name) { let value = "; " + document.cookie; let parts = value.split("; " + name + "="); if (parts.length == 2) return parts.pop().split(";").shift(); } // Get user token from cookies const userToken = getCookie('user_token'); if (subscribewithoutData === 'true' && userToken) { // Call the modal function with the category ID subscribed_popupmodal(subscribe_clicked_cat_id); // Remove the flag and category ID from localStorage localStorage.removeItem('subscribe_without_Login'); localStorage.removeItem('subscribe_clicked_id'); } }); /************************** update susbcriber content **************************** */ function initializeSubscriptionButton() { var initialListItems = document.querySelectorAll('.subscription-options input[type="checkbox"]'); initialListItems.forEach(function(item) { console.log(item.checked, 'Initial Checkbox checked status'); }); var listItems = document.querySelectorAll('.subscription-options li'); if (listItems.length === 0) return; var anyActive = false; listItems.forEach(function(item) { var checkbox = item.querySelector('input[type="checkbox"]'); if (checkbox) { if (checkbox.checked) { item.classList.add('active'); anyActive = true; // Set anyActive to true } else { item.classList.remove('active'); // Remove 'active' class if checkbox is unchecked } } }); } function updateButtonText(anyActive) { var subscribeButtonSpan = document.querySelector('.subscribe-submit .changeBtnText'); if (subscribeButtonSpan) { if (anyActive) { subscribeButtonSpan.textContent = 'Subscribe Now'; } else { subscribeButtonSpan.textContent = 'Unsubscribe'; } } } function updateSubscriptionButton() { var listItems = document.querySelectorAll('.subscription-options li'); if (listItems.length === 0) return; var anyActive = false; listItems.forEach(function(item) { var checkbox = item.querySelector('input[type="checkbox"]'); if (checkbox) { if (checkbox.checked) { item.classList.add('active'); anyActive = true; // Set anyActive to true } else { item.classList.remove('active'); // Remove 'active' class if checkbox is unchecked } } }); // Update the button text based on whether any list item has the 'active' class updateButtonText(anyActive); } document.addEventListener('click', function(event) { var clickedItem = event.target.closest('.subscription-options li'); if (clickedItem) { var checkbox = clickedItem.querySelector('input[type="checkbox"]'); if (checkbox) { checkbox.checked = !checkbox.checked; updateSubscriptionButton(); } } });