Latest posts

Browse topics

How to Update Solana Token Metadata for Free With Phantom

I was working with AI agents on TerraM and exploring whether to issue more tokens. Before doing that, I decided to take care of the token I already had. Solscan still called it TerraM coin, the published metadata had no description, and I was seeing MTM in Phantom.

I first wrote about updating SPL token metadata in December 2022, shortly after launching TerraM. This time, the AI agents checked who could update the token, prepared a new icon from the TerraM website’s branding, hosted it, and filled in the update form. The prep went quickly. I reviewed the details in Chrome and signed a single transaction in Phantom. My original SPL token metadata guide

Two overlapping digital metadata cards with a refresh symbol.

How I updated TerraM without the command line

  1. Check the mint address and update authority. Open your token on Solscan and look under Metadata. For an existing SPL token with Metaplex metadata, the record must be editable and your wallet must hold the update authority. Metaplex update requirements
  2. Open the metadata editor in Chrome and connect Phantom. The built-in browser I started in didn’t detect my wallet. Chrome detected the Phantom extension. I pasted TerraM’s mint address into the editor and connected the account with update authority. TradersWeek metadata editor
  3. Enter the new name, description, and logo URL. I shortened the name to TerraM, added a public PNG link, and wrote a description that starts with “DEX-traded. Options-driven.” The editor uppercases ticker entries, so I left that field blank to preserve the existing TerraM ticker. Published metadata
  4. Review and sign in Phantom. I checked the transaction and approved it once. After it finalized, I opened Metadata → View URI Metadata on Solscan to confirm the new description and image URL. TerraM on Solscan

What the update cost

The editor charged zero service fee. Solana’s base fee for one signature was 0.000005 SOL. My actual transaction fee was 0.000205 SOL, including a priority fee. You can check the exact fee on your transaction receipt. Solana’s fee documentation · My transaction receipt

What happened to MTM?

The AI agents traced mTM to TerraM’s original 2022 metadata. A later transaction changed the ticker to TerraM. After this update, Phantom’s public Terminal showed TerraM and loaded the new icon for the exact mint. Solscan showed the new name and metadata, while its page header still displayed a placeholder icon when we checked. TerraM on Phantom Terminal

I started out looking at whether to issue more TerraM. What I ended up doing that day was making the existing token easier to recognize, with one wallet signature and less than a cent in network fees.

TerraM Price Outlook for 2027: Can It Reach $1 Without Outside Capital?

TerraM could reach $1 in 2027 using capital we already have. The first milestone I would watch is whether it can trade around $1 repeatedly and absorb an ordinary sell without giving back much of the gain. My working year-end range is $0.60–$1.20. I would treat $1.20–$2.00 as a strong outcome, and an isolated $3 quote as weak evidence on its own.

I am involved in TerraM, and these are my scenarios for the token. I am assuming zero new outside capital, zero fundraising or OTC proceeds and zero net buying from outside the project in the pool illustration. The plan has to stand on the existing options account, realized profits and the token inventory already available. I covered the recent changes to TerraM’s name, icon and description in my TerraM metadata guide.

TerraM starts around $0.77, with about $812 in USDC in the pool

On November 25, 2026, the TerraM market panel showed a $0.7723 spot quote, $1,626 of total pool liquidity and $0 of 24-hour volume. Raydium showed roughly 1,051 TerraM and 811.868 USDC in the pool. Solana showed 9,999.999903723 TerraM minted, or about 10,000. At that supply, the quote implied about $7,723 in fully diluted value. That figure marks every minted token at the pool quote. The USDC available in the pool is the more useful starting point for estimating what a sale could actually receive. TerraM market panel · Solana supply on Solscan

TerraM market panel showing a $0.7723 pool quote, $1,626 liquidity and zero 24-hour volume.

TerraM market panel captured November 25, 2026. The chart uses archived candles, and the reported 24-hour volume was zero.

How the options strategy supports the token

TerraM is a Solana token traded against USDC on Raydium. The project runs a separate Ethereum options strategy with existing capital. A cash-secured put earns a premium and can require us to buy ETH. Once we own the ETH, we can sell covered calls against it. ETH losses and closing costs can outweigh the premium, and a challenged position can extend a cycle. The allocation is based on positive realized net profit after the cycle closes and costs are reconciled. Holding TerraM gives no claim on the options account or direct cash payout. TerraM risk disclosures · Example of a cycle extended by ETH puts For more on the network TerraM trades on, see my Solana 2027 outlook.

A cycle that closes with $400 net profit provides $100 for buybacks, $100 for liquidity and $200 retained for trading. A buyback adds USDC to the pool and removes TerraM as it executes. A balanced liquidity deposit adds both assets at the prevailing ratio, so its immediate contribution is depth. Repurchased tokens remain part of minted supply unless a separate burn takes place. My 2027 model assumes zero burns.

What would it take to reach $1, $2 or $3?

Raydium reserve panel showing 1,051 pooled TerraM and 811.868 pooled USDC.

Raydium’s reserve panel on November 25, 2026. The USDC reserve gives a clearer picture of near-term sell liquidity than the total dollar value of both sides. Raydium pool

Using the observed reserve ratio and Raydium’s constant-product model, I estimated what one net buy would do to the next marginal pool quote. The example assumes no fees, opposing trades or liquidity changes and treats one USDC as about one dollar. The average fill across the trade differs from the final quote. Raydium’s pool pricing math

Target pool quoteIllustrative net buyImplied value at 10,000 minted
$1.00About $112$10,000
$1.50About $320$15,000
$2.00About $495$20,000
$3.00About $788$30,000

A $100 buy starting at the observed reserves would take the marginal quote to about $0.97, with an average fill around $0.87 before fees. The same starting pool would pay roughly $71 for a sale of 100 TerraM and leave the next quote around $0.64. These are separate examples from the same starting point. The pool’s ability to move in either direction is why I would judge a $1 recovery by repeat trades and sell-side depth.

My year-end 2027 scenarios, with zero outside capital

ScenarioYear-end TerraM quoteWhat would have to happen
Stress$0.15–$0.60ETH weakness or long cycles leave little realized profit for buybacks. Persistent selling or liquidity withdrawals reduce the USDC reserve. In a severe drawdown the quote could fall below this range.
Working case$0.60–$1.20One or two $400-equivalent profitable closes fund $100–$200 each for buybacks and liquidity over the year. Existing holders’ net selling stays limited, and distribution of existing treasury tokens is gradual.
Strong year$1.20–$2.00Several profitable closes generate $1,200–$2,000 of realized net profit and $300–$500 each for buybacks and liquidity. Profits survive drawdowns, and buybacks are not absorbed by persistent selling or a large release of treasury tokens.

Those profit figures are scenario inputs, independent of the price bands. A $400 target is already about 11% of the previously disclosed $3,500 reference for the ETH cycle. I would budget for months with zero funds available for token operations. The strong case depends on the underlying trading performance and may take longer than a year. TerraM project and market observations

The practical path is to build a market around $1

  1. Close and reconcile a profitable ETH cycle first. Publish realized net P&L and the amounts allocated to trading capital, liquidity and buybacks.
  2. Build up the USDC side of the pool. At the observed depth, a $100 buy carries roughly 12% average price impact before fees. At about 2,000 USDC in reserves, the same order would carry about 5% in a simple constant-product model. Reaching that depth from the screenshot takes roughly $1,188 in extra USDC. At a 25% liquidity allocation, it would take about $4,750 of realized profit even if the entire allocation went toward the USDC leg and existing treasury TerraM supplied the matching tokens. A $2,000 reserve is a longer-term depth milestone on the working-case budget.
  3. Use the buyback budget in measured amounts and publish the fills. I would track the average $100 buy and sell quotes alongside the headline spot price. A series of trades around $1, deeper USDC reserves and a smaller sell-side price impact would all make the price more credible.

After the first 10,000 TerraM are distributed

Once the initial 10,000 TerraM have been distributed, the plan is to mint additional TerraM. The scenario table uses the current minted supply as its starting point. It assumes neither a date nor a batch size for the new issuance. Before the next mint, I would publish the amount, where the tokens will go, and when they could enter the market. Minting increases the token count. The price effect also depends on when those tokens are distributed and how much selling reaches the pool.

For scale, an illustrative 2,500-token mint would take supply to 12,500 and reduce each existing holder’s percentage of the total by 20% if their balance stays the same. At a fixed $10,000 implied valuation, the price arithmetic moves from $1.00 to $0.80. Holding $1 at the larger supply would imply $12,500 in value. The example shows the effect of a larger denominator and leaves the eventual mint size open.

At today’s pool depth, $1 is a reasonable milestone for 2027. The outcome I would value more is a $1 market with stronger reserves, visible buybacks from completed cycles, and a published record of how the next supply is issued. That is the path I can work on with the capital already in the strategy.

NVIDIA Selloff, a 0DTE Pause and a BAC Dividend Capture | Week 87

Our account was worth $11,113 just after Friday’s close. We’re up 14.84% year to date and collected $97.46 in option premium after commissions, including the credit from the BAC call that’s still open. The portfolio was down 4.18% from last week’s $11,597.

Weekly portfolio values fall from the $13,973 September 4 peak to $11,597 on November 27 and approximately $11,113 just after the December 4 close.
The December 4 point uses the IBKR balance just after Friday’s close. Earlier points are from the weekly journal.

We’re about 20% below our September high of $13,973. Margin debt rose from $4,626 to about $9,087, mainly because I bought 100 BAC shares on margin.

What happened in the market

The S&P 500 held up better than our portfolio. A roughly 1.5% Friday drop left it almost flat for the week at its 7,297.07 close.

Chip stocks led the selling. NVIDIA fell about 8% on Friday, and it’s still our largest stock holding. Friday’s U.S. jobs report showed little change in November payrolls.

Two NVIDIA trades and a pause

I sold two same-day NVIDIA put spreads this week. Both expired worthless. While I manage the BAC position, I’m taking at least a week off new NVDA 0DTE trades.

The BAC dividend and what I bought

I bought 100 BAC at $47.34 before it went ex-dividend. The shares qualified for $32 gross, payable December 24, which will give December’s dividend income a nice boost. On Friday I bought back the first covered call and sold one for the following week. I still own the shares, and if BAC keeps falling I could be financing them for longer than I planned. That was the main risk in my dividend-capture trade.

I also added small amounts of MAIN, NU, BMY, NIO, PFE and WFC, and picked up a fraction of a Wells Fargo share through dividend reinvestment.

Open options and what I’m watching

  • BAC. The December 11 $48 covered call is my next chance to exit the new shares. I’m watching the December 18 $57.50/$60 call spread if BAC rallies. The March $55 short put is the bigger concern on a decline because assignment would add another 100 shares.
  • NVDA. I still have the February $135 covered call. If the shares are called away, the proceeds could help pay down margin debt.
  • BMY and Lufthansa. I have a March $55 BMY put and a December 18 €7 Lufthansa put. I’m watching how much room I have to take shares if either put is assigned.
  • NFLX. I have a February $75/$85 call spread and a December 2027 $64 short put. A rebound puts pressure on the spread. A further decline puts pressure on the put.

How I Built a Drupal Views Map and Photo Gallery with Codex

While updating our Mumbai and Goa itinerary, I had 23 separate place posts to bring into one story. There was the boat ride in Mumbai Harbour, the Gujarati thali in Churchgate and all those stops in Goa. I wanted readers to see where we went and then open the post about whichever place caught their eye. A map after the intro and photo cards at the end seemed like a good way to do it.

My Blog content type already had a Reference field, and the place posts already had their own photos and coordinates. I asked Codex to connect those pieces. In a couple of minutes I had a first version I could try on the India article. Then we worked out how I could turn it on for an older post from the same Drupal edit form.

Map of South Goa with the Salaulim Dam pin open and linking to the article.
On the Mumbai and Goa itinerary, I zoomed in on Goa and opened the Salaulim Dam pin. The popup links to the article about the dam.

I’ve been building maps for this site for a while. In 2013 I wrote about putting Drupal taxonomy terms on a map. Two years later I built a site-wide travel map with Views, Location and GMap, with filters for country, region and category.

One Reference field and two Views blocks

We made a View called Trip places with two block displays. Referenced places map uses Geolocation and Leaflet to show published references with coordinates and Display on Map enabled. Click a numbered cluster to zoom in. A single pin opens a link to that place’s story. Referenced places photo cards uses the same references and displays the linked titles and cover photos in the order I set in Drupal.

The layout and map settings live in Views. Our custom module, reinis_trip_places, connects the blocks to the article Drupal is rendering. That includes the current revision when I preview an unpublished update.

Six Latgale photo cards, including Koknese Castle and Varakļāni Palace.
Six of the 14 Latgale cards. Each gets its title and cover photo from the place article in the Reference field.

Passing the places to the block

Here’s the part that gives the map block its list of places. The module reads the node IDs from field_reference and joins them with + for the View’s content ID contextual filter. The filter is configured to accept multiple values.

$ids = array_unique(array_column(
  $node->field_reference->getValue(),
  'target_id',
));

$settings = \Drupal::config('reinis_trip_places.settings');
$manager = \Drupal::service('plugin.manager.block');
$block = $manager->createInstance(
  $settings->get('map_block'),
  ['label_display' => FALSE],
);
$block->setContextValue('nid', implode('+', $ids));

The block helper also carries through Drupal’s access and cache information. The block has a contextual default called Reference field on the current article, so it can pick up the references when it is placed through Drupal’s block system. The article display passes the IDs directly from the node revision it is showing. Drupal’s ViewsBlock API

Placing the map inside the story

For the inline map, we attach the rendered block to the article body with a Drupal #post_render callback. Here $map is the render array for the Views block.

if (($build['body'][0]['#type'] ?? NULL) === 'processed_text') {
  $build['body'][0]['#referenced_places_map'] = $map;
  $build['body'][0]['#post_render'][] = [
    TripMapPlacement::class,
    'afterIntroduction',
  ];
}

The callback puts the map after the second paragraph on the India itinerary. On an itinerary with a Day 1 heading, it puts the map just before that heading. The photo cards go in the Reference section below the story.

Trying it on an older trip

I tried the same setup myself on 14 Things to Do in Latgale. I opened the article in Drupal and ticked Show map of referenced places and Show referenced places as photo cards. The 14 places I had linked years ago appeared on the map and in the gallery.

Drupal edit form with Show map of referenced places and Show referenced places as photo cards both checked.
These are the two boxes I checked on the Latgale article in Drupal.

That was my favourite part. I could open an old trip, check two boxes and see it in a different way. I’m going back through a few more travel articles to see which ones already have places ready to go.

Bank of America Dividend Capture With a Covered Call

I secured a $32 gross Bank of America dividend, a welcome boost to my monthly dividend income for December. On Thursday, December 3, 2026, I bought 100 BAC shares at $47.34 and sold one $47.50 covered call expiring Friday, December 4, for $0.27 per share. The idea was to collect the dividend and earn an option premium while giving the shares a chance to be called away.

The shares cost $4,734 and the call brought in $27 gross, leaving a $4,707 opening debit before $2.02 in opening commissions. With the dividend secured, an assignment at $47.50 on Friday would bring the total gross gain to $75. If the call expires unexercised and I keep the shares, I can sell another covered call against the same lot.

BAC covered-call payoff at Friday expiration. With the dividend earned, the position breaks even at $46.75, and gross profit caps at $75 at the $47.50 strike.
The modeled payoff for the first covered call at Friday expiration, including the $32 gross dividend.

How I secured the dividend

Dividend capture starts with buying the stock before the ex-dividend date. Bank of America declared a quarterly dividend of $0.32 per share, payable December 24 to holders of record December 4. BAC also went ex-dividend December 4, so my Thursday purchase was in time under the one-business-day settlement cycle.

What IBKR showed on December 4

Before the U.S. market opened Friday, IBKR still showed both my 100-share lot and the short $47.50 call. The December 3 Activity Statement also showed both positions open at the end of Thursday. The shares carried into the ex-dividend date, securing $32 gross payable December 24. Friday’s statement was still pending when I checked, so I had yet to verify the dividend accrual in IBKR. The call was still open at that check.

I was watching Thursday closely because a U.S. equity call can be exercised before expiration. If I’d been assigned on a Thursday exercise, I would have made $43 gross from the stock gain and premium and missed the dividend. The strike was just $0.16 above my entry. A rally could have put the call in the money, and an in-the-money call with less time value than the dividend is a candidate for early exercise. A Friday assignment would leave the dividend with me.

The payoff and breakeven

If the shares are called away at $47.50, I make $16 on the stock. Add the $27 premium and $32 dividend and the maximum modeled gross gain is $75, about 1.59% of the $4,707 opening debit. The premium alone reduced my covered-call breakeven to $47.07. With the dividend, it falls to $46.75.

Friday expiration scenarios for the 100-share lot, before fees, financing costs, and taxes
OutcomeShares afterwardGross gain or loss
Assigned at $47.500+$75
Call expires unexercised, BAC at $47.34100+$59
Call expires unexercised, BAC at $47.00100+$25
Call expires unexercised, BAC at $46.75100$0
Call expires unexercised, BAC at $45.00100−$175

Where I still own the shares, the table includes the change in their market value, which remains unrealized. The $32 dividend is included in the figures and is due in cash on December 24, subject to any withholding.

When I can sell another covered call

If the first call expires unexercised and IBKR still shows the shares, I can sell one new call against them. A close near $47.50 can leave the outcome open because after-hours moves can affect exercise decisions. I’ll check the account before writing the next contract.

For example, a hypothetical December 11 $48 call sold for $0.20 would bring in another $20. The two premiums and the dividend would total $79 gross. If I were assigned at $48, I’d make $66 on the stock and $145 gross across the sequence. If the second call expired unexercised, the extra premium would bring breakeven to $46.55. A $45 share price would still leave me down $155 on paper.

The bigger risk is holding BAC in a downtrend

Bank of America’s historical prices show BAC closing at $51.63 on November 4, $50.08 on November 16, and $47.49 on December 3. That’s an 8% decline from November 4 to my trade date. I may have bought into a downtrend and inherited a position I’ll need to carry long after the dividend date. Every further $1 fall takes $100 off the value of this lot. The first premium and dividend together cushion just $0.59 per share.

On the ex-dividend date, the shares can trade lower by roughly the dividend amount, all else equal. A $0.32 decline would cost this lot $32 in market value, the same amount as the dividend. A continued decline after that could overwhelm the premium as well.

I also had a short $55 BAC put expiring March 19, 2027 in the same account. Another decline can hurt the shares and make that put more expensive to close. If the short put is assigned while I still hold this lot, I’d buy another 100 shares for $5,500 and be holding 200 shares across the two lots. I bought the first 100 on margin. Margin interest accumulates while I borrow, and a sharp decline can leave the broker requiring more collateral or selling other holdings to cover a shortfall.

Falling prices also make the next strike harder to choose. A lower strike can bring in more premium and commit me to selling below my purchase price if BAC bounces. A higher strike leaves room for a recovery and generally pays less. I want the strike to be an exit price I can live with, even if the shares recover quickly.

What I’d do differently next time

If the dividend is my priority, I’d buy before the ex-date and wait until the ex-date to write the call. If I want to sell it earlier, I’d compare the available strikes and bid–ask spreads. A $48 strike would have given me $0.66 of room from my entry, compared with $0.16 on the $47.50 call. At an illustrative $0.10 premium, I’d receive $17 less up front and have a higher exit price if assigned.

I’d ask myself whether I would buy BAC at $47.34 with no dividend due that week. Then I’d check how much cash and margin room I’d have if the shares fell to $45 and my March put were assigned. Those two answers tell me whether the trade fits the portfolio before I start counting the dividend.