@digitalgentop · Post #41 · 21.05.2024 г., 21:22
💰📊In the past 24 hours, Ethereum whales have purchased more than 110,000 ETH valued at $341 million!💵😮 #Cryptoenthusiast #Cryptocurrencies #Cryptowallet
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #241 · 5 мај
Можно ли в Python создавать бинарные файлы? Конечно можно. Для этого в Python есть следующие инструменты: ▫️ тип данных bytes и bytearray ▫️ открытие файла в режиме wb (write binary) или rb (read binary) ▫️ модуль struct Про модуль struct поговорим в первую очередь. Файл в формате JSON или Yaml внутри себя содержит разметку данных. Всегда можно определить где список начался а где закончился. Где записана строка а где словарь. То есть формат записи данных содержит в себе элементы разметки данных. В binary-файле данные не имеют визуальной разметки. Это просто байты, записанные один за другим. Правила записи и чтения находятся вне файла. Модуль struct как раз и помогает с организацией данных в таком файле с помощью определения форматов записи для разных частей файла. Модуль struct преобразует Python-объекты в массив байт, готовый к записи в файл и имеющий определённый вид. Для этого всегда следует указывать формат преобразования (или, как оно здесь называется - запаковки). Формат нужен для того, чтобы выделить достаточное количество байт для записи конкретного типа объекта. В последствии с помощью того же формата будет производиться чтение. При этом следует помнить что мы говорим о типах языка С а не Python. Именно формат определяет, что записано в конкретном месте файла, число, строка или что-то еще. Вот какие токены формата у нас есть. Помимо этого, первым символом можно указать порядок байтов. На разных системах одни и те же типы данных могут записываться по-разному, поэтому желательно указать конкретный способ из доступных. Если этого не сделать, то используется символ '@', то есть нативный для текущей системы. В строке формата мы пишем в каком порядке и какие типы собираемся преобразовать в байты. Запакуем в байты простое число, токен "i". >>> import struct >>> struct.pack('=i', 10) b'\n\x00\x00\x00' Теперь несколько float, при этом нужно передавать элементы не массивом а последовательностью аргументов. >>> struct.pack('=fff', 1.0, 2.5, 4.1) b'\x00\x00\x80?\x00\x00 @33\x83@' Вместо нескольких токенов можно просто указать нужное количество элементов перед одним токеном, результат будет тот же. >>> struct.pack('=3f', 1.0, 2.5, 4.1) b'\x00\x00\x80?\x00\x00 @33\x83@' Теперь запакуем разные типы >>> data = struct.pack('=fiQ', 1.0, 4, 100500) я запаковал типы float, int и unsigned long long (очень большой int, на 8 байт) b'\x00\x00\x80?\x04\x00\x00...' Распаковка происходит аналогично, но нужно указать тот же формат, который использовался при запаковке. Результат возвращается всегда в виде кортежа. >>> struct.unpack('=fiQ', data) (1.0, 4, 100500) Как видите, ничего страшного! #lib#basic
Пребарај: #cryptowallet
@digitalgentop · Post #41 · 21.05.2024 г., 21:22
💰📊In the past 24 hours, Ethereum whales have purchased more than 110,000 ETH valued at $341 million!💵😮 #Cryptoenthusiast #Cryptocurrencies #Cryptowallet
@digitalgentop · Post #11 · 21.05.2024 г., 17:43
💰📊In the past 24 hours, Ethereum whales have purchased more than 110,000 ETH valued at $341 million!💵😮 #Cryptoenthusiast #Cryptocurrencies #Cryptowallet
@tokenpocket_channel · Post #1566 · 06.03.2025 г., 03:44
🔖 TokenPocket Monthly Report — February 2025 🔗 Read Full Report: https://tokenpocket-gm.medium.com/tokenpocket-monthly-report-february-2025-89f2dfa00949 February has been an exciting month filled with innovations and feature upgrades! 🚀 Let’s take a look at the key highlights: Key Updates & Features 🎯 four_meme_ Pre-Launch Market Supported 🎯 MultiSig Wallet Now Supports base Chain 🎯 Expanded Meme Mode to BNB CHAIN & Base 🎯 Gas-Free Transfers on TRON & BNB Chain ✍️ We Value Your Feedback! Participate in our survey and get a chance to win exclusive rewards! 👉 Take the Survey: https://docs.google.com/forms/d/e/1FAIpQLScOoLg_AZIRQtX4lBo7aFwrvVmriXC5Kg_SqRvz0Hwl_ner5A/viewform All-in-one, all in TokenPocket! 👇 👉https://tokenpocket.pro #TokenPocket#CryptoWallet#Web3#DeFi#Blockchain
@quasark_channel · Post #6 · 30.06.2023 г., 12:53
🚀 Last Call for the QuasarK Closed Beta Whitelist Are you ready to experience the future of cryptocurrency wallets? The countdown is on ⏰, and we don't want you to miss out on this exciting opportunity! Here's why you want to be part of our closed beta: 1️⃣ Unrivaled Security: Quasark ensures the safety of your funds like never before. Rest easy, knowing your assets are protected. 2️⃣ User-Friendly Interface: Effortlessly navigate through features, send and receive funds, and stay in control of your financial future. 3️⃣ Cutting-Edge Features: From instant swaps to customizable interface, we've got you covered with a suite of powerful tools. 4️⃣ Prices&Market trends: Access insightful charts and information to make informed investment decisions. 👉 Don't wait any longer! Secure your spot before SUNDAY: https://zealy.io/c/quazark/invite/yJwJUITfB-ehsbeVWcaOP #Quasark#CryptoWallet#ClosedBeta#DigitalAssets#DeFi
@tonevents_en · Post #1716 · 02.08.2025 г., 10:30
MyTonWallet v4.0 — July Update Overview ⚡️Instant Transfer Display Incoming transfers now appear on the recipient’s side immediately after the sender confirms the transaction. While this doesn’t speed up the blockchain itself, it sets a new UX standard — you see the transfer right away, even before it hits the block. #MyTonWallet is the first wallet to achieve this level of speed in displaying transactions. 💡 Combined with recent TON Core updates — where transactions confirm in ~5 seconds under average network load — using TON is now smoother than ever. 👍Refreshed Interface The wallet UI got a fresh polish: updated main card, tabs, balance display, and token color scheme — all now cleaner and more modern. The design comes from the new native app, MyTonWallet Air, which is currently in testing. 💱Send and Stake in Fiat You can now enter amounts in familiar fiat currencies like USD, EUR, RUB, and more — great for beginners or anyone dealing with fiat. 👨💻Better dApp Support + TON Connect Improved experience when working with decentralized apps via TON Connect. Plus, new features for devs and power users: 🔵 Import wallets of any version 🔵 Create wallets that work exclusively on TON #MyTonWallet#CryptoWallet#TON#UX#Web3#TONConnect#CryptoNews
@digitalgentop · Post #241 · 06.06.2024 г., 08:02
⚡️Main news: 🔗Wallet on Telegram enforces new KYC rules, switches provider 🟢 PEPE whale up nearly $5M on investment within a month 💵Next $1 trillion company will be DePIN 📌 Alex Labs rolls out post-exploit recovery plan 💰Bitcoin in 42-day ‘boredom zone’ — traders debate next move #Cryptoanalysis #Cryptoenthusiast #Cryptocurrencies #Cryptowallet
@digitalgentop · Post #240 · 06.06.2024 г., 02:57
❗️Donald Trump found guilty in landmark New York hush-money case 🇺🇸 #Cryptoanalysis #Cryptoenthusiast #Cryptocurrencies #Cryptowallet
@digitalgentop · Post #230 · 04.06.2024 г., 03:02
💵Gemini returns $2.18B to Earn users following 18-month withdrawal freeze ⌛ #Cryptoanalysis #Cryptoenthusiast #Cryptocurrencies #Cryptowallet
@digitalgentop · Post #224 · 02.06.2024 г., 16:01
☄️ZKasino gives investors 72-hour window to get back deposited ETH 💵ZKasino denied it tried to make off with $33 million of investor funds in April and has now opened up a short refund window. #Cryptoanalysis #Cryptoenthusiast #Cryptocurrencies #Cryptowallet
@digitalgentop · Post #212 · 31.05.2024 г., 13:01
⚡️Athena Protocol Gains Momentum with TVL Increase to $2.75 Billion, Ready for $1? 💵 #Cryptocurrencies #Cryptowallet #Cryptoeducation #Bitcoinnews #Cryptolover
@sublimetraders · Post #2196 · 29.01.2024 г., 19:09
💫 Magic Eden expands the NFT universe with Emmy, a multi-chain crypto wallet. Embrace the magic with compatibility for Solana, Bitcoin, Polygon, and Ethereum! What's your blockchain pick? #MagicEden#CryptoWallet#NFTs#Solana#Bitcoin#Polygon#Ethereum 📈BTC price at the time of this post: $43024 👉Continue reading
@digitalgentop · Post #213 · 31.05.2024 г., 16:01
🔖Shiba Inu Super Diamond Trader Liquidates Holdings, Followed By A Secret Message 📣 #Cryptoenthusiast #Cryptocurrencies #Cryptowallet #Cryptoeducation #Bitcoinnews