Intermediate⏱ 20 min8 steps

Find New Contracts by First-Seen Timestamps

Spot new smart contracts the day they appear: query contract deployments, rank them by early activity, and separate real launches from noise and spam.

Wevr Guides ·

New protocols, new tokens, new NFT collections and new scams all start the same way: someone deploys a contract. If you can see contracts as they appear — and tell which ones are attracting real activity — you are looking at the market's pipeline before it reaches headlines, aggregator lists or social feeds.

In this tutorial you will find newly deployed contracts, measure their first days of activity, and filter out the noise. You will need the Wevr query editor and some familiarity with GROUP BY.

How contracts come into existence

There are two ways a contract appears on an EVM chain like Ethereum or Base:

  1. Direct deployment. An externally owned account sends a transaction with no to address and the contract's bytecode as data. The transaction receipt records the address of the new contract.
  2. Factory deployment. An existing contract creates a new one during execution — this is how DEX pools, token launchpads and many wallets are made. These creations show up in execution traces rather than as top-level transactions.

Direct deployments are the easiest place to start, and they cover most new protocol launches. Factory deployments matter too, but they are better handled per factory — our liquidity tutorial shows how to follow one factory's creation events.

Query direct deployments

Contract creation transactions are those with an empty recipient. Look in the transactions table for rows where the to address is null or empty and the receipt carries a created contract address. Column names vary by platform, so check the transactions table in the tables catalog first. A typical shape:

SELECT block_timestamp,
       from_address AS deployer,
       receipt_contract_address AS contract
FROM transactions
WHERE to_address IS NULL
  AND block_timestamp >= now() - INTERVAL 1 DAY
ORDER BY block_timestamp DESC
LIMIT 100;

On Ethereum mainnet this returns a steady stream of deployments every day. Many are tests, copies of popular templates, or contracts that will never be used. The interesting work is filtering.

Measure early activity

A contract nobody interacts with is noise. A contract that draws hundreds of distinct users in its first day is a launch. So count how many unique addresses called each new contract after it was deployed:

WITH new_contracts AS (
  SELECT receipt_contract_address AS contract,
         min(block_timestamp) AS first_seen
  FROM transactions
  WHERE to_address IS NULL
    AND block_timestamp >= now() - INTERVAL 3 DAY
  GROUP BY contract
)
SELECT n.contract,
       n.first_seen,
       uniqExact(t.from_address) AS unique_callers,
       count() AS calls
FROM transactions AS t
INNER JOIN new_contracts AS n ON t.to_address = n.contract
GROUP BY n.contract, n.first_seen
ORDER BY unique_callers DESC
LIMIT 25;

uniqExact counts distinct callers precisely. The common table expression (WITH ... AS) keeps the query readable: first find the contracts, then measure them. The result is a leaderboard of the past three days' deployments, ranked by how many different wallets showed up.

Separate launches from noise

A high caller count is not proof of legitimacy. Before you get excited about a contract, run three checks:

  • Who deployed it? Paste the deployer into Wevr Footprint. A deployer with a long history and known counterparties is a different proposition from a wallet funded minutes earlier through a mixer.
  • Where are callers coming from? If hundreds of "unique" callers were all funded by the same address, you are looking at a sybil swarm, not organic users — common around anticipated airdrops.
  • What do the calls do? Look at the decoded functions or events. A token contract whose only activity is the deployer distributing tokens to fresh wallets is a red flag; a protocol whose callers deposit and withdraw is behaving like a real product.

Turn discovery into a habit

Save the leaderboard query and run it daily, or chart unique_callers for the top results over their first week. Real launches tend to show a sustained curve — users returning on day two, three and four. Hype tends to spike and vanish. That shape, more than the day-one number, is the best signal you will get from deployment data.

You can also flip the question: instead of looking for winners, look at deployers. A small number of addresses deploy a large share of contracts on any chain. Ranking deployers by how many of their contracts attracted users quickly surfaces teams with a track record — and serial deployers of copy-paste tokens.

Try it on another chain

L2s like Base see a very high rate of new deployments, often with lower costs and faster experimentation than mainnet. Run the same queries against Base, adjusting the table names in the catalog, and compare: how many new contracts per day, and what share of them attract more than a handful of users? The answer says a lot about where builders are currently experimenting.

Troubleshooting

The query returns contracts but no callers. Many deployments are never used — that is expected. If every contract shows zero callers, check that your join compares addresses in the same case and format.

The leaderboard is full of the same kind of contract. Wallet factories, bridges and bots can deploy large numbers of near-identical contracts. Group by deployer to spot them, then exclude those deployers to see the long tail.

A famous launch is missing. It was probably created by a factory contract rather than directly, so it never appears as a top-level deployment. Query the factory's creation events instead.

Recap

You now know where new contracts come from, how to list direct deployments, how to rank them by early unique users, and how to separate real launches from spam and sybil activity. That is a genuinely useful discovery workflow — and it runs on the same free query editor as everything else in this series.