Horizen [ZEN] crypto price hits 32-month high: More gains in store?

Horizen has made a strong comeback over the past week, hiking by 190.97% and hitting a 32-month high.

Read more

Bitcoin Volatility Index (BitVol) Soars to 65.36, Signaling Increased Market Uncertainty

On December 25th, the BitVol (Bitcoin Volatility) Index, developed by T3 Index in partnership with LedgerX, experienced a notable increase, reaching a level of 65.36—marking a daily rise of 3.3%.

Read more

Lightchain AI’s integration of AI and blockchain impresses Solana developers

Lightchain AI is changing blockchain with AI integration, raising $4.2M in its LCAI presale, exciting Solana developers. #sponsoredcontent

Read more

Lightchain AI’s integration of AI and blockchain impresses Solana developers

Disclosure: This article does not represent investment advice. The content and materials featured on this page are for educational purposes only. Lightchain AI is changing blockchain with AI integration, raising $4.2M in its LCAI presale, exciting Solana developers. Table of Contents Explanation of Lightchain AI’s integration of AI and blockchain The need for integration of AI and blockchain Benefits of incorporating AI into blockchain systems Lightchain AI’s solution Impression on Solana developers Future plans of Lightchain AI Want to take part in the future of AI and blockchain? Don’t miss Lightchain AI’s presale launch Lightchain AI is changing the blockchain landscape by integrating artificial intelligence, a development that has garnered significant attention from Solana developers. The ongoing presale of its native token, LCAI, has already raised over $4.2 million, reflecting strong investor interest. This funding will support the development of Lightchain AI ‘s decentralized AI platform, which aims to enhance the capabilities of decentralized applications and drive technological advancement in the blockchain ecosystem. Explanation of Lightchain AI’s integration of AI and blockchain Lightchain AI seamlessly integrates artificial intelligence and blockchain technology to create a powerful decentralized platform. By combining AI’s computational capabilities with blockchain’s transparency and security, the platform addresses challenges like scalability and efficiency, enabling real-world applications. This unique integration enhances data processing and ensures secure execution of AI-driven tasks. The fusion of these technologies has drawn attention from developers, including those in the Solana ecosystem, for its unique approach. Lightchain AI ’s focus on decentralization, transparency, and utility positions it as a trailblazer in the evolving blockchain landscape. The need for integration of AI and blockchain Integrating AI and blockchain is essential for addressing the growing demand for secure, transparent, and efficient technologies. Blockchain provides a decentralized foundation, ensuring trust and accountability, while AI enhances decision-making and data analysis. Together, they create systems capable of real-time processing and privacy-preserving computations. This synergy enables unique applications across industries, from healthcare to finance. By leveraging blockchain’s transparency and AI’s intelligence, integrated platforms address challenges like scalability, bias, and inefficiency, paving the way for transformative, real-world solutions. Benefits of incorporating AI into blockchain systems These are some of the key benefits of integrating AI and blockchain Enhanced Data Security AI-driven analytics can detect anomalies and potential threats, ensuring robust data protection within blockchain networks. Improved Efficiency AI optimizes transaction validation processes, reducing time and energy consumption in blockchain operations. Intelligent Automation Smart contracts integrated with AI enable automated decision-making based on dynamic data inputs. Better Scalability AI helps manage large datasets and improves blockchain scalability for handling complex applications. Advanced Insights Combining AI with blockchain facilitates real-time data analysis, unlocking actionable insights for businesses and developers. Lightchain AI’s solution Lightchain AI offers a unique solution by seamlessly merging artificial intelligence and blockchain technology. Its decentralized approach addresses critical challenges like scalability, transparency, and inclusivity, ensuring secure and efficient operations. The platform’s advanced architecture supports real-world applications, empowering developers and enterprises to build unique decentralized systems. By focusing on privacy-preserving mechanisms and community-driven governance, Lightchain AI fosters trust and collaboration within its ecosystem. This unique solution positions the platform as a leader in driving meaningful advancements in decentralized AI and blockchain integration. Impression on Solana developers Lightchain AI has made a strong impression on Solana developers with its innovative approach to integrating artificial intelligence and blockchain. Its focus on scalability, privacy-preserving mechanisms, and decentralized governance aligns with the values of forward-thinking developers, sparking interest in its advanced technology and practical applications. The platform’s ability to address real-world challenges through its unique architecture and utility-driven ecosystem resonates with Solana’s development community. This shared vision for innovation and inclusivity positions Lightchain AI as a promising partner in the blockchain space. Future plans of Lightchain AI Lightchain AI’s future plans focus on driving innovation and expanding its ecosystem. Key goals include launching the mainnet, fostering developer participation, and integrating with cross-industry partners to enhance adoption. These steps aim to establish a scalable and inclusive platform for decentralized AI applications. The roadmap also emphasizes global adoption and long-term sustainability through advanced scalability solutions and decentralized governance. These plans position Lightchain AI as a leader in the evolving blockchain and AI landscape. Want to take part in the future of AI and blockchain? Don’t miss Lightchain AI’s presale launch Lightchain AI’s presale is your opportunity to be part of a revolutionary project at the intersection of AI and blockchain. With its token priced at $0.00375 in Stage 8 and over $4.16 million already raised, this launch offers a chance to join a platform designed for innovation, scalability, and real-world utility. Participating in the presale allows investors to secure tokens early and support a project poised to redefine decentralized technologies. Don’t miss the opportunity to contribute to Lightchain AI’s vision for the future. To learn more about Lightchain AI, visit the website , whitepaper, X , and Telegram. Read more: Investors turn to Lightchain AI 3000x potential after PEPE drop Disclosure: This content is provided by a third party. crypto.news does not endorse any product mentioned on this page. Users must do their own research before taking any actions related to the company.

Read more

We asked ChatGPT what will be the Bitcoin price in 2025; Here’s what it said

Bitcoin ( BTC ) has had a remarkable year, recently reaching an all-time high of $108,268. This surge was driven by optimism surrounding a more crypto-friendly stance under President-elect Donald Trump and speculation about the potential Bitcoin strategic reserve. However, the cryptocurrency market remains divided, with investors navigating a mix of bullish institutional interest and bearish macroeconomic signals. These mixed signals have sparked speculation across the market, leaving investors questioning where Bitcoin, the world’s leading cryptocurrency, could head in 2025. Bitcoin seven-day price chart. Source: Finbold As of press time, Bitcoin is trading at $98,015, reflecting a 5% decline over the past week. On a monthly chart, Bitcoin has posted a modest gain of 0.05%, highlighting the market’s persistent volatility. Mixed market signals Institutional players like MARA Holdings (NASDAQ: MARA ) and Riot Platforms have continued to expand their Bitcoin reserves, signaling long-term confidence in the asset. Meanwhile, MicroStrategy (NASDAQ: MSTR ) marked its seventh consecutive week of Bitcoin acquisitions, purchasing 5,262 BTC at an average price of $106,662, an investment of $561 million. Adding to the optimism, billionaire investor Ray Dalio recently described Bitcoin as a hedge against a looming “debt money problem,” further endorsing its potential as a global financial asset alongside gold. Despite these bullish developments, bearish pressures emerged following hawkish statements from the U.S. Federal Reserve after its December 17 decision to cut interest rates by 25 basis points. Fed Chair Jerome Powell’s comments about Bitcoin reserves further dampened market enthusiasm, briefly pushing Bitcoin below the $100,000 mark. The Fed’s forecast of only two rate cuts in 2025, falling short of market expectations for three or four cuts, also raised concerns among investors. Institutional demand vs. miner production The imbalance between institutional demand and Bitcoin’s limited supply is becoming increasingly evident. Over the past week, Bitcoin exchange-traded funds (ETFs) recorded inflows of $423.6 million, equivalent to 4,349 BTC. In contrast, miners produced just 2,250 BTC during the same period. This discrepancy highlights tightening liquidity, with miners struggling to meet growing institutional demand. December alone has seen $5.5 billion in Bitcoin ETF inflows, reinforcing institutional confidence in the cryptocurrency. On the supply side, the squeeze is even more pronounced. Data from CryptoQuant reveals that the total amount of Bitcoin readily available for sale—across exchanges, miners, and over-the-counter desks—has plummeted to 3.397 million BTC, a decline of 678,000 BTC so far this year. This marks the lowest level since October 2020. Compounding the issue, the liquidity inventory ratio, which measures how many months of demand the current sell-side stock can sustain, has dropped dramatically to just 6.6 months, compared to 41 months at the beginning of October, with demand showing no signs of waning. ChatGPT’s Bitcoin price prediction ChatGPT predicts that Bitcoin could climb to $200,000 in 2025, supported by historical trends and current market dynamics. Key drivers of this forecast include increasing institutional adoption, tightening supply following the recent halving, and sustained inflows into Bitcoin ETFs. These factors are expected to fuel long-term demand despite potential market turbulence. ChatGPT outlook on Bitcoin. Source: ChatGPT/Finbold This projection aligns closely with Bitwise, which anticipates Bitcoin surpassing $200,000, and potentially reaching $500,000, tied to the possibility of a federal Bitcoin reserve. Standard Chartered similarly maintains a $200,000 target, highlighting robust institutional interest, while VanEck offers a slightly more conservative estimate of $180,000, warning of heightened volatility throughout the year. Despite differing specifics, the consensus points to a bullish outlook for Bitcoin in 2025, tempered by the likelihood of market swings. Featured image via Shutterstock The post We asked ChatGPT what will be the Bitcoin price in 2025; Here’s what it said appeared first on Finbold .

Read more

BlackRock’s Ethereum ETF Draws $44 Million Inflows Amid Bitcoin ETFs’ Struggles

The cryptocurrency market witnessed significant shifts this week as BlackRock’s Ethereum ETF experienced a surge in inflows, contrasting sharply with Bitcoin ETFs. On Tuesday, BlackRock’s iShares Ethereum Trust ETF attracted

Read more

What Are Crypto Whales Buying? Top Altcoins in Watch

The post What Are Crypto Whales Buying? Top Altcoins in Watch appeared first on Coinpedia Fintech News Altcoin Daily explores the recent crypto news and how they are going to change the crypto game in 2025. Recently, Donald Trump’s appointment of Bo Hines as Executive Director of the U.S. Crypto Council signaled a major crypto push. Hines will collaborate with David Sachs to foster innovation in the digital asset space, aiming to position the U.S. as a global leader. Analysts speculate this aligns with plans for a U.S. Bitcoin Reserve to tackle national debt and boost Bitcoin adoption. Let’s jump in. Top Altcoins Ready to Boom in 2025 The current political scenario is building the crypto momentum and 2025 will be the year of Bitcoin as suggested by many analysts. Among all Crypto coins analysts are more focused on Bitcoin and speculate a hike in its adoption as a strategic reserve asset could push the U.S. to a global crypto leader. Its capped supply of 21 million coins, growing institutional interest via ETFs, and potential regulatory tailwinds in 2025 make it a cornerstone for long-term investors. Next up is Ethereum though its ETF records are not impressive yet it is expected to jump the ladder and become a leader for the next altcoin season. Since DeFi and NFTs may see some actions in Trump’s leadership. Its transition to proof-of-stake enhances energy efficiency and scalability, attracting institutional and real-world adoption. Solana, known for its blazing speed and low costs, is gaining traction in gaming and NFTs despite occasional setbacks. Solana is also buzzing as analysts are expecting an ETF approval once Gary Gensler steps down . At present Solana is up 6% indicating that SOL has seen more capital increase than Bitcoin and Ethereum. With regulatory activity at ease, Cardano is also back in the game . Despite the recent drops due to the wide market crypto dump the coins are gaining investor’s interest. The market is bullish on Cardano after Trump’s win with expectations of a 4000% rise next year it is indeed a hot crypto asset. Last but the least is the memecoin sector which sees a potential breakout chance as investors may divert their assets to memes for quick gain. Trump’s favorite Dogecoin (DOGE) has broken the myth of meme failure with an impressive 350% surge in 2024 due to its robust community. It is also supported by Elon Musk making it even more popular. Is Altcoin Season Nearing? Well, that’s a question that is on everyone’s mind right now, Altcoin Daily believes an altcoin season will happen when there is wider crypto adoption in all sectors be it altcoins, stablecoins, or meme coins. Apart from other sectors, Stablecoins are gaining traction as a tool for global transactions, with companies like SpaceX leveraging them for seamless cross-border payments. This highlights how stablecoin growth could fuel capital inflows into altcoins. Plus, regulatory clarity expected in 2025, and rising institutional interest in digital assets like Bitcoin could create a domino effect, benefiting altcoins.

Read more

Crypto Moguls Reap Billions after Pro-Crypto Election Outcomes

The U.S. 2024 elections weren’t just a victory for candidates; they were a windfall for crypto leaders like Coinbase ($COIN) CEO Brian Armstrong. T...

Read more

DeFi Phishing Attack : How a Fake Zoom App Stole $1M

The post DeFi Phishing Attack : How a Fake Zoom App Stole $1M appeared first on Coinpedia Fintech News An old miner of DeFi recently became a victim of a phishing attack, where malware in the form of a fake Zoom app sucked $ 1 million out of the DeFi user’s wallet. 屋漏偏逢连夜雨 早上起来发现推特被盗了,找回推特后,发现钱包被盗了,损失 1 M Usd0++ ,钱应该是找不回了 事件逻辑是昨晚黑客伪装了一个推特,一眼看过去没问题,通过我的推特互动信息,伪装我是 XX… — Lsp (@lsp8940) December 24, 2024 The Attack Unfolds The victim described how he had received a direct message from the attacker starting what appeared to be a normal conversation through the Twitter page. The attack started with a threat actor impersonating the CEO of a real crypto project and introducing themselves by mentioning people the receiver knew. The attacker suggested the next step should be scheduling a meeting to talk about project development via ZOOM; the link to the Zoom meeting was also shared. Believing the request, the victim tried to reinstall the Zoom app as the fake webpage demanded it. As a result, having downloaded and opened the link, they unleashed malware that was to capture wallet credentials and private keys. The victim only came to find out about the loss when their Twitter account had been hacked and their crypto wallet emptied. Even though the victim is a rather experienced DeFi user and miner, he confessed that the loss occurred due to a single moment of inattention .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 : Crypto Phishing Scams 2024: How Hackers Stole $500K in a Month , Rising Threat of Malware in Crypto The attack is not an isolated event but one of the many malware attacks focused on users of cryptocurrencies. Hackers like those who registered us04-zoom[.]us domain-level tricks to ensure that unsuspecting individuals install malware on their devices. Such phishing campaigns usually take advantage of familiar tactics like popular platforms Zoom to reduce guard. Security Measures That Crypto Users Should Undertake To mitigate the risk of such attacks, experts recommend the following precautions: Verify sources: It is always important to verify the authenticity of links and downloading sources in a particular common application such as Zoom or Twitter. Run security scans: Some malware sneaks into the computer through downloaded files, so make sure downloads are scanned before installation using a reliable antivirus. Enable 2FA: Increase account security by also implementing two-factor authentication for all accounts. Stay sceptical: Do not interact with spam texts or chats even from your ‘friends,’ or ‘followers.’ Let this serve as a stark reminder: the world of DeFi is no different, and being just once careless can lead to terrible outcomes. Stay alert, stay secure! .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; } .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; } .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; } @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 subcribemodal = 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 = document.getElementById('unsubscribe_' + getcategoryId); var elementTosubscribe = 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) { 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) { document.getElementById('monthlySelected_' + getcategoryId).style.display = 'block'; document.getElementById('monthly_' + getcategoryId).setAttribute('data-id', subscribeStatus._id); if (subscribeStatus.subscribe_status === 1) { document.getElementById('monthly_' + getcategoryId).checked = true; } } else if (subscribeStatus.notification_type === 2) { document.getElementById('weeklySelected_' + getcategoryId).style.display = 'block'; document.getElementById('weekly_' + getcategoryId).setAttribute('data-id', subscribeStatus._id); if (subscribeStatus.subscribe_status === 1) { document.getElementById('weekly_' + getcategoryId).checked = true; } } else if (subscribeStatus.notification_type === 1) { document.getElementById('dailySelected_' + getcategoryId).style.display = 'block'; document.getElementById('daily_' + getcategoryId).setAttribute('data-id', subscribeStatus._id); if (subscribeStatus.subscribe_status === 1) { 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: 'c2645b5075', 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() { var templateId = '6'; getAllSubscriberCategoryList([templateId]); 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 resultonload = JSON.parse(response.message); var storeallcategory = resultonload.message; if (Array.isArray(storeallcategory)) { // Collect all `news_cp_category_row_id` values and remove duplicates var allCategoryIds = storeallcategory.map(function(item) { return String(item.news_cp_category_row_id); // Convert IDs to strings }); var uniqueCategoryIds = Array.from(new Set(allCategoryIds)); // Get unique IDs // Convert templateId to a string for comparison var templateIdStr = String(templateId); // Check if the templateId is NOT found in the unique category IDs if (!uniqueCategoryIds.includes(templateIdStr)) { var idNotMatchTounsubscribe = document.getElementById('unsubscribe_' + templateIdStr); var idNotMatchTosubscribe = document.getElementById('subscribe_' + templateIdStr); // Check if elements exist before applying display changes if (idNotMatchTounsubscribe) { idNotMatchTounsubscribe.style.display = "none"; } if (idNotMatchTosubscribe) { idNotMatchTosubscribe.style.display = "none"; } } } else { console.log("storeallcategory is not an array."); } }, error: function(xhr, status, error) { console.error("AJAX request failed:", status, error); } }); 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(); } } });

Read more

Benjamin Cowen Analyzes Cardano’s Price Risks

Benjamin Cowen warns of potential price drops for Cardano (ADA). The Federal Reserve's policies significantly impact the cryptocurrency market. Continue Reading: Benjamin Cowen Analyzes Cardano’s Price Risks The post Benjamin Cowen Analyzes Cardano’s Price Risks appeared first on COINTURK NEWS .

Read more