Ian Macalinao is one half of the Saber brothers (Danny Nelson/CoinDesk)
Something about Sunny Aggregator felt off-kilter to the cryptocurrency user known as Saint Eclectic.
Sunny was the newest decentralized finance (DeFi) app to hitSolanaduring that blockchainâs scorching bull run last summer, when its native token jumped fivefold. Sunny was barely two weeks old by early September, but billions of dollars in crypto were flooding thisyield farm.
Still, Saint and others had questions: Who was behind Sunny? Why was its developer, one âSurya Khosla,â pseudonymous? Was its codebase audited? Would usersâ cash be safe?
âThere was no indication of who Surya was,â Saint recalled recently, âso many users didnât feel comfortableâ putting their crypto in.
Their suspicions proved prescient.
CoinDesk has learned who Surya was: Ian Macalinao, the chief architect of Saber, astablecoinexchangebuilt on topof Solana. In turn, he built Sunny Aggregator on top of Saber.
And thatâs just the top of the pile.
Coding as 11 purportedly independent developers, Ian, a 20-something computer wiz from Texas, created a vast web of interlocking DeFi protocols that projected billions of dollars of double-counted value onto the Saber ecosystem. That temporarily inflated the total value locked (TVL) on Solana, as the network was racing toward itszenithlast November. The DeFi faithful regard TVL as a barometer for on-chain activity.
âI devised a scheme to maximize Solanaâs TVL: I would build protocols that stack on top of each other, such that a dollar could be counted several times,â Ian wrote in a never-published blog post reviewed by CoinDesk. The blog post was prepared on March 26, three days after Cashio, one of Ianâs secretly built protocols, lost $52 million in ahack.
People close to the matter confirmed the draftâs authenticity.
Ianâs ploy worked for a while. By his count, Saber and Sunny comprised $7.5 billion of Solanaâs $10.5 billion TVL at their peak. (Billions of those dollars were double-counted between his two protocols.)
âI believe it contributed to the dramatic rise of SOL,â Ian wrote of a time whenSolanaâs native currencytraded at $188.
Solana networkâs TVL continued to swell even after the Saber ecosystem began losing steam in mid-September 2021, topping at $15 billion around Nov. 9, according to data provider DeFiLlama, while Saberâs TVL had by then dropped 64%.
Ian wrote he disdained this âvanity metricâ; nonetheless, âit bothered me that Ethereum TVL was so much higherâ than Solanaâs, because in his view, DeFi projects onEthereumâ the largest blockchain for DeFi â are âstackedâ to double-count deposits.
âI wanted to create a system very similar to this,â he wrote. One problem: âIf the same team built each protocol, TVL would be more silly as a metric. Thus I created more anonymous profiles,â he wrote.
In public, Ian and his brother Dylan called their anonymous personas âfriends,â or âfriends of friends.â Their âShip Capitalâ coder club was laying the âblueprints for my ideal DeFi ecosystem,â Ian wrote in the unpublished blog. Saber and its so-calledliquidity provider (LP) tokensanchored everything.
âIf an ecosystem is all built by a few people, it does not look as authentic,â Ian wrote in his blog post. âI wanted to make it look like a lot of people were building on our protocol, rather than ship 20+ disjoint[ed] programs as one person.â
The Macalinaos wanted other crypto protocols to become so dependent on Saber that âits failure would lead to the entire system going down,â as Dylanphrasedit on Oct. 1, 2021. âBtw this is the 200 IQ [Saber Labs] strategy, but few understandâŠâ
The Macalinao brothers offered no comment by press time.
There arevalid reasonsto seek shelter in pseudonyms. Ianâs weaponized âanons,â however, mounted something akin to a âSybil attackâ abusing crypto usersâ trust. (A Sybil attack is when a computer in a network uses bogus identities to gain disproportionate influence over the whole.)
âI am revealing this because it is inevitable that I will be found out,â Ian wrote in his never-published blog.
Instead, the Macalinaos in May published âSaber Public Goodsâ to propagate the âSaber teamâsâ prolific code across Solana. Eight of Ianâs 11 secret projects appear there. Their disclosure is mum on the anons and their master. Sunny and Cashio, whose tokens imploded, donât show up, either.
Surya Khosla was Ianâs moniker when building Sunny Aggregator. Surya popped onto Twitter in August 2021. Saint Eclectic, the Sunny skeptic, hesitated to deposit his LP tokens in the work of this mysterious character, an anon with an artificial intelligence-generated face.
One factor swung in Suryaâs favor: The Ian puppet claimed to know brother Dylan âpretty well in real life.â On Sept. 9 of last year, Dylan Macalinaotweetedhe âfelt comfortableâ putting his own crypto into Sunny Aggregator. âWe audited their code,â Dylan, who is in his early 20s, said.
Dylan lent Surya the credibility he needed to win over skeptics like Saint.
The problem was, the lead developer, âSurya Khosla,â didnât exist. Dylanâs brother Ian built Sunny Aggregator. Ian had made Surya up.
It was Ianâs first dalliance with assumed identities for Saber â and far from his last.
Ian wrote in March 2022 that he had created 11 âanonymous founders that are actually me.â
Ship Capital had many âfriends":0xGhostchain, who created Cashio;Goki Rajesh, builder of multi-signature walletGoki;Larry Jarryfrom mining rewards aggregator Quarry;Swaglioni, the âgrandmasterâ of governance platform TribecaDAO; and of courseSurya Khoslafrom Sunny Aggregator, Saberâs yield farm.
These DeFiLego brickswere the jewels of the Saber ecosystem. Lesser-known protocols Crate (run bykiwipepper), aSOL (0xAurelion), Arrow (oliver_code)Traction.Market(0xIsaacNewton), Sencha (jjmatcha) and Venko App (ayyakovenko), rounded out the crown, according to Ianâs blog. He admitted to creating the lot.
Ian, Dylan and the puppet anonspromotedShip Capitalâs work incessantly on social media.
Theyshilledtheir counterpartsâlaunchesandintegrations, praised their brethren'sthinkfluencertweets,creditedeachotherforinspiringthemto build on Solana. They evencirculatedIanâsself-referentialmemes.
One of Ian Macalinao's experiments quotes its master on Twitter.
âAs @simplyianm likes to say⊠it's an experiment!âdeclared@_kiwipepper â âherselfâ one of them.
Others danced around the truth. âTeam size =! Success,â Iantweetedon Dec. 7, 2021. âI would pay @larrinator01 and @0xGoki 10x market rate in a heartbeat. Not that they need my moneyâŠâ (Ianâs Goki and Larry personas cheered).
Ianâs anons were cheeky when outsiders challenged their legitimacy.
It's impossible to know whether Ian puppeteered his anonsâ Twitters after springing them from his workbench. But two people who have worked with Ship Capital recalled the inexplicable behavior of its crew. One personaâs Telegram account would come online after another logged off.
Regardless, Ian admits in the unpublished draft to pulling their strings where it mattered most: the codebases.
âIf you are a developer, it is very easy to find out which open source protocols were written by me: there is always a âflake.nixâ file that only I use.â
CoinDesk verified that many of the projects described in Ianâs blog contained the âflake.nixâ file.
To understand how the âarmy of anonsâ pumped double-counted value into Saber, 0xGhostchainâs Cashio project offers a compelling view.
Unveiled last November near the crypto market peak, Cashioâs CASH was billed as a âdecentralized stablecoinâ whose dollar-pegged cryptocurrencies were backed by âliquidity providerâ tokens. (LP tokensare a type of crypto asset that holders âstakeâ to earn extra yield. DeFi protocols issue them to users whose loaned tokens keep trades moving smoothly.)
Cashio accepted only LP tokens from Saber as collateral. That wasnât overly strange last November, when Saber, an âautomated market makerâ with over $1 billion in TVL, was a major DeFi trading venue for stablecoin pairs on Solana. (Saberâs current TVL is$90.6 million.)
Cashioreliedon Saber ecosystem projects created by Ianâs anons to generate yield.
It first packaged Saber LP tokens into âtokenized basketsâ using Crate, which Ian built under the pseudonym âkiwipepper.â It sent those âcratesâ through a yield redirection platform calledArrowâ Ian built this as âoliver_code.â Finally, Cashio said it earned yield by staking these deposit derivatives in âSuryaâsâ Sunny Aggregator as well as Quarry, which Ian built as âLarry Jarry.â Profits flowed to Cashioâs treasury, managed by a decentralized autonomous organization (DAO).
Confused? Cashioâs customers were. CoinDesk asked two high-profile users of Cashio to explain the appâs convoluted process; neither could. The appâsâaboutâ pagedidnât help much, either.
Chart a deleted user made in Cashio's Discord server on Feb. 19
What users cared about was this: Cashioâs DeFi machine accepted their Saber LP tokens and spat out CASH tokens.
It was a lucrative trade. CASH holders could deposit their LP-backed stablecoins into Sunny liquidity pools and earn returns of 10%-30%. Had they deposited Saber LP tokens into Sunny instead of Cashio, they would get just 5%-10%, one trader said. It didnât matter that the same crypto asset was behind both.
Such is the logic of DeFi money Legos.
Ramming deposits from Saber-to-Cashio-to-Crate-to-Arrow-to-Sunny-or-Quarry had even bigger implications for Saber. According to Ian, it turned $1 of apparent TVL into $6. Many DeFi projects measure their worth by touting total user deposits: TVL.
âTVL can only count if protocols are built separately,â Ian wrote, explaining why his anonsâ protocols appeared to be separately built.
According to TVL tracker DeFiLlama, Saberâs deposits peaked at $4.15 billion on Sept. 11 2021; its flagship SBR token had topped out at 90 cents days earlier. Sunny Aggregatorâs TVL also peaked on Sept. 11, at $3.4 billion. Its SUNNY token had flirted with an all-time-high of 18 cents one day before.
Both tokens have plummeted 99%, according to data provider CoinGecko. Saberâs and Sunnyâs TVL hardly fared better as they have both dropped by over 96%.
Cashioâs March 23 implosion from a $52 million hack was a broadside against Ship Capital.
Ian said in the unpublished blog that he âpushed very hard for people to stake more into Cashio,â because he wrote its code. He apologized for their âcatastrophicâ losses in a protocol that he created using a pseudonym and endorsed under his true identity.
In the unpublished post, Ian begged the hacker â a self-styled Robin Hood-type who railed against American and European fat cats â âto consider returning the funds.â The hacker later did return $14 million of the $39 million that hack victims requested.
Ian wrote that if the hacker didnât pay users back in full, âI will do what I can to repay affected personal users in my personal Saber and Sunny tokens. This wonât cover the full amount, but itâs all I have to offer.â He never made good on that unpublished pledge.
Pseudonymity is widespread in crypto, and not in itself evidence of wrongdoing. Thirteen years after bitcoinâs debut, the true identity of its creator, Satoshi Nakamoto, remains unknown. Yet even after a recent brutal sell-off, the bellwether cryptocurrency boasts a$442 billion market capitalization.
Ian, however, wanted âa barrier for criticism,â according to the unpublished post:
âI only want to focus on building and creating value in my perception of what I believe is the best way of doing things. I do not want to deal with excessive criticism before my ideas are fully brought to market, and being anonymous is an easy way to distance myself (and the protocols I work on) from this.â
Ianâs arrival in Solanaland in October 2020, according to Discord server logs, was hardly the self-proclaimed âshipooorâsâ first code rodeo. HisGitHub commit historystretches back over a decade, with the first public crypto contribution, on anEOSproject, in late 2017.
In early January 2021, Ian discussed the tokenomics of what he considered (rightly, it turned out) as a doomed-to-depeg stablecoin in the Discord forBasis.Cash. There, he became âobsessedâ with building decentralized money.
Somewhere along the way, he tried and failed to âbuild a multiprotocol DeFi ecosystemâ that ended âin criticism and ridicule,â Ianâs post said. âMoving to Solana was a way for me to reset that.â
Who were these anonymous builders flocking to Saber? Ian grappled with the question at last yearâsSolana conference in Lisbon, Portugal, during a panel called âFrom Zero to $2 Billion: How Saber Became the Biggest DeFi App on Solana.â
âWe brought in some friends to basically build on top of Saber and just grow out the ecosystem,â Ian told Chris McCann of Race Capital,Saberâs biggestventure capital (VC) backer.
One âfriendâsâ project was Sunny; Crate, the tokenized basket-making protocol from Ianâs alias kiwipepper, was another.
âBut that person also has, like a lot of friends that they know,â Ian told the audience. One of those friends-of-friends built Cashio, a stablecoin project backed by Saber LP tokens that fed liquidity into Sunny Aggregator, he claimed.
âWe could promote [CASH] to get more liquidity into Saber,â he said on stage.
In a brief interview with CoinDesk Thursday, McCann said he was unaware of Ianâs intimate connection to Cashio.
âHeâs always mentioned that there is somebody else that created it, but I do not know who the somebody else is nor have I met them.â
Ianâs unpublished blog reveals Cashioâs true origin. Coding as 0xGhostchain, Ian rushed to complete an exemplar of Saber LP-backed stablecoins in time for Breakpoint, the Solana ecosystemâs biggest-ever gathering of fellow developers. Ian wanted others to copy Cashio, he wrote. Each protocol that parroted its dependence on Saber LP tokens would become a liquidity spigot gushing yet more TVL into the $1.7 billion mothership.
âThis is part of why the code was insecure, it was rushed for this deadline,â he wrote on March 26, after a hacker hadspoofedCashioâs unaudited smart contracts with fake collateral, draining it of $52 million.
Cashioâs Discord community â where passionate users roam â likely believed the CASH code was safe. After all, Ian told them on Nov. 23: âI personally auditedâ it. He pitched a similaryarnto crypto Twitter on March 23, the day of the exploit: âI did not audit Cashio as closely as I should have.â
Both statements contradict what Ian wrote in his unpublished letter:
âI didnât get anyone else to look at the code, including an auditor. I should not have done this.â
A reply to a tweet by Ian Macalinao...
...that he later deleted
âIt was always the goal to eventually have real people building projects,â Ian wrote in the unpublished blog.
On July 23, the brothers started wooing external developers to Saber with a âDAO accelerator program.â Its application formasks: âHow will your protocol deeply integrate with the Saber Protocol thereby increasing Saber's volume/TVL/capital efficiency?â
That effort comes as the brothers cast off from Solana for Aptos, an up-and-coming blockchain â porting Saber with them. Many Solana developers are in tow, a venture capital source said. The Macalinaos are betting on it: they helm a VC thatâs anchored in Aptos, three sources said. Their VC is called Protagonist. Itsold namewas âShip Capital.â
Seven Saber ecosystem users told CoinDesk they felt abandoned by the Macalinao brothers. Some lost money in CASH tokens (the erstwhile stablecoin went to zero). Others say their crypto is stuck in derivative tokens issued by Sunny. One pseudonymous user, Brad_Garlic_Bread, said he lost around $300,000 across Sunny and Saber â âthere's a lot of people worse off than me.â
The community assumes Ian is running the show âbut no one knows for sure,â Brad_Garlic_Bread said.
Heâs still trying to get Ianâs attention. On July 16, Brad asked if Ian âcan pretend to be Surya for like a dayâ to help Sunny Aggregator's investors recover locked tokens. Ian was answering questions in the Saber Discord; he skipped Bradâs.
Other SUNNY token-holders asked Ian for clues about the yield aggregatorâs future. Saber is moving to Aptos â will Sunny do the same? They asked what became of Sunnyâs lead developer.
âThe main sunny dev got burned out after losing most of their savings from the Cashio hack,â Ian said on July 16. He said he would âencourageâ this disenchanted dev to rebuild Sunny in Move, a coding language Ian says is safer than Solanaâs Rust for building multi-million-dollar protocols.
One week later, Ian said the Sunny dev felt rejuvenated after giving Move a go.
ââFeels like early Solana all over again.ââ