Skip to content
TILens What matters today in tech v0.3.2
Theme

Topic - Edition

JavaScript

52 items on 16 Nov 2026
JavaScript

How to send email without exposing your email provider's API key

To send email without exposing your email provider's API key, keep the key encrypted and only decrypt it inside the code that sends the email. On Lit Protocol, you encrypt the key once to a Lit wallet that belongs to…

Source: DEV JavaScript feed Lit Protocol
JavaScript

How to make a wallet that works on Ethereum and Solana

Ethereum and Solana use different kinds of keys. Ethereum uses secp256k1 keys and addresses that start with 0x. Solana uses ed25519 keys and base58 addresses. So a wallet that works on both chains holds two keys, or one…

Source: DEV JavaScript feed Lit Protocol
JavaScript

How to build a crypto trading bot that signs its own transactions

A trading bot has three parts. There is code that decides when to trade, code that builds the transaction, and a key that signs it. The usual setup keeps the key in an environment variable on the same server as the…

Source: DEV JavaScript feed Lit Protocol
JavaScript

I checked 848 EU websites: 56 % load trackers before you consent

Cookie banners are everywhere in the EU. I wanted to know how many of them actually hold anything back, so I loaded 848 websites from 14 EU countries and recorded every request before anyone touched the banner. Results…

Source: DEV JavaScript feed Immanuel Schranz
JavaScript

Your Per-Item ResizeObserver Is a Layout Feedback Loop

Every virtualized list with variable-height rows eventually meets the same bug: you add a ResizeObserver to each row so you can measure it, write the measured height back into your layout state, and the page starts…

Source: DEV JavaScript feed RobustTrueTry
JavaScript

Where to store private keys in your app

The safest place for a private key is somewhere your app can ask for a signature without ever reading the key. On a phone, that means the iOS Keychain or the Android Keystore. On a server, it means a key management…

Source: DEV JavaScript feed Lit Protocol
JavaScript

JAVASCRIPT FUNCTIONS: A BEGINNER'S GUIDE

Understanding JavaScript Functions: A Beginner's Guide Introduction When learning JavaScript, one of the most important concepts to understand is the function. A function is a reusable block of code designed to perform…

Source: DEV JavaScript feed nwachukwunnamaka44-source
JavaScript

How to program a crypto wallet

A crypto wallet is a private key and some code that uses the key to sign transactions. You can write one in a few lines of JavaScript with a library like ethers or viem. Writing the code is the easy part. The harder…

Source: DEV JavaScript feed Lit Protocol
JavaScript React

OWASP Mobile Top 10 — M7: Insufficient Binary Protections

Welcome to the seventh article in our OWASP Mobile Top 10 2024 series! In previous articles we covered M1 through M6. Today: what an attacker can do with your app binary once they download it — and why React Native…

Source: DEV JavaScript feed Barış Kandemir
JavaScript

JavaScript Learning: Object Constructors and Arrays

Creating Objects in JavaScript In JavaScript, we can create objects to store related information in key-value pairs. For example, imagine we want to store laptop details such as model, RAM, storage, and screen size. We…

Source: DEV JavaScript feed Vasanthakumari N
JavaScript

How to Cancel Remaining Requests When Promise.all Fails in JavaScript

Your app has a dashboard that loads three things at the same time: the user's profile, their orders, and some recommendations. You fetch them in parallel, and you use Promise.all to wait for all three. async function…

Source: DEV JavaScript feed Sufian | DevDose

52 items available