[{"data":1,"prerenderedAt":183},["ShallowReactive",2],{"\u002Fblog\u002F2021-05-06-migrating-holders-without-their-keys":3},{"id":4,"title":5,"archiveType":6,"body":7,"category":167,"contextDate":168,"cover":169,"coverAlt":170,"date":171,"description":172,"extension":173,"featured":174,"historicalDate":171,"historicalLabel":168,"meta":175,"navigation":176,"path":177,"publishedDate":168,"seo":178,"stem":179,"thumbnail":168,"workPeriod":180,"writtenDate":181,"__hash__":182},"blogs\u002Fblog\u002F2021-05-06-migrating-holders-without-their-keys.md","Migrating holders without holding their keys: bridge, migrator and deadline","retrospective",{"type":8,"value":9,"toc":159},"minimark",[10,28,31,36,45,61,70,85,89,98,116,119,123,132,135,139,147,156],[11,12,13,14,21,22,27],"p",{},"Block rewards on Trivechain mainnet stopped at height 1,212,121. My ",[15,16,20],"a",{"href":17,"rel":18},"https:\u002F\u002Fmedium.com\u002Ftrivechain\u002Ftrivechain-great-migration-20146f016487",[19],"nofollow","Trivechain Great Migration"," post on 1 May set out what follows: TRVC moves to a BEP20 token on Binance Smart Chain, and the TRVC Wallet at wallet.trivechain.com gains a T3 Lite wallet for BSC. On 4 May I put the token contract in a ",[15,23,26],{"href":24,"rel":25},"https:\u002F\u002Fgithub.com\u002Ftrivechain\u002Ftrivechain-bsc-contract",[19],"public repository",". It caps supply at 80 million TRVC, lets the owner mint up to that cap, and its README links the initial mint of 45,000,000 TRVC for the migration from Trivechain 2.0.",[11,29,30],{},"None of the official routes asks a holder to hand us a private key or a seed phrase. Each route still asks holders to trust something, and the trust differs.",[32,33,35],"h2",{"id":34},"route-one-the-wallet-bridge","Route one: the wallet bridge",[11,37,38,39,44],{},"Our ",[15,40,43],{"href":41,"rel":42},"https:\u002F\u002Fmedium.com\u002Ftrivechain\u002Fthe-t2-to-t3-lite-migration-guide-e80ba5f41459",[19],"migration guide"," of 6 May walks through it. A holder:",[46,47,48,52,55,58],"ol",{},[49,50,51],"li",{},"consolidates their coins into one address in the T2 wallet, using its UTXO consolidation tool;",[49,53,54],{},"copies their T3 Lite address and chooses \"Migrate to T3 Lite\";",[49,56,57],{},"pays the migration fee from the T3 Lite wallet, which needs at least 0.001 BNB;",[49,59,60],{},"waits for 100 block confirmations, at least two hours, before the BEP20 TRVC appears.",[11,62,63,64,69],{},"The holder signs each step in their own wallet. What they trust us with is the bridge: that coins sent on one side are matched by tokens on the other. Our ",[15,65,68],{"href":66,"rel":67},"https:\u002F\u002Fmedium.com\u002Ftrivechain\u002Ftrvc-on-bsc-roadmap-update-27cb73290f12",[19],"roadmap update"," on 13 May describes the bridge's T3IN and T3OUT transactions as traceable, so a holder can check their own migration instead of taking our word for it.",[11,71,72,73,78,79,84],{},"The hundred confirmations matter more now than they would have a month ago. With no block reward there is less reason to mine the old chain, and a chain with less hashpower is cheaper to reorganise. A bridge that credited a deposit too early could pay out on a transaction that later disappears. For the same reason I published two optional updates to Trivechain Core, ",[15,74,77],{"href":75,"rel":76},"https:\u002F\u002Fgithub.com\u002Ftrivechain\u002Ftrivechain-core\u002Freleases\u002Ftag\u002Fv3.0.0.1",[19],"v3.0.0.1"," on 6 May and ",[15,80,83],{"href":81,"rel":82},"https:\u002F\u002Fgithub.com\u002Ftrivechain\u002Ftrivechain-core\u002Freleases\u002Ftag\u002Fv3.0.0.2",[19],"v3.0.0.2"," on 17 May. Each adds a checkpoint, at heights 1,219,386 and 1,234,424, for faster sync and to protect the chain state from a major reorganisation.",[32,86,88],{"id":87},"route-two-a-migrator-that-runs-on-the-holders-machine","Route two: a migrator that runs on the holder's machine",[11,90,91,92,97],{},"Some holders keep TRVC in Trivechain Core, the full-node wallet, often spread across many addresses. For them I published ",[15,93,96],{"href":94,"rel":95},"https:\u002F\u002Fgithub.com\u002Ftrivechain\u002Ftrivechain-wallet-migrator",[19],"trivechain-wallet-migrator"," on 6 May. The holder exports the wallet's keys to a file and runs a small Node.js script locally. The script:",[99,100,101,104,107,110,113],"ul",{},[49,102,103],{},"reads the keys from that file;",[49,105,106],{},"asks our public API for balances and unspent outputs by address;",[49,108,109],{},"builds and signs consolidation transactions locally, up to 300 inputs at a time;",[49,111,112],{},"submits only the signed transactions for broadcast;",[49,114,115],{},"leaves alone any output that carries a TriveAsset token.",[11,117,118],{},"Nothing the script sends over the network contains a private key. The weak point is the export itself: a wallet dump is every private key in plain text. Anyone using this route should run it on a machine they trust and delete the file as soon as the coins have moved. The consolidated coins land at one receiving address the holder chooses on the old chain, ready for either of the other routes.",[32,120,122],{"id":121},"route-three-through-an-exchange","Route three: through an exchange",[11,124,125,126,131],{},"On 12 May we published ",[15,127,130],{"href":128,"rel":129},"https:\u002F\u002Fmedium.com\u002Ftrivechain\u002Fmigrating-to-t3-is-as-simple-as-abc-with-the-centralized-way-a5e6e4e4fa04",[19],"a simpler route",", because holders had asked for an easier method. They deposit TRVC to Swapz.finance, which converts it to BEP20 TRVC in its wallet. BitRabbit, an exchange, is listed as an official bridge too.",[11,133,134],{},"This is the custodial route. It takes fewer steps, and while the coins sit at the exchange, the holder is trusting the exchange rather than their own keys. Offering it beside the self-custody routes, and calling it the centralised way in its title, lets each holder make that trade knowingly.",[32,136,138],{"id":137},"the-deadline","The deadline",[11,140,38,141,146],{},[15,142,145],{"href":143,"rel":144},"https:\u002F\u002Fmedium.com\u002Ftrivechain\u002Fless-than-48-hours-until-the-shutting-down-of-migration-6703473bc8bc",[19],"notice on 29 May"," counted about 10 million of 45 million TRVC still unmigrated as of 28 May. It said the official bridges, the TRVC Wallet, Swapz.finance and BitRabbit, would shut at 08:00 GMT+8 on 31 May. TRVC.App, where users still held about 200,000 TRVC, was to close at the same time. Any other \"bridge\" was not ours.",[11,148,149,150,155],{},"A deadline is a security decision as well as a scheduling one. Every day a bridge stays open, someone has to keep its balance funded and keep watching a chain whose block reward has ended. A published end date narrows that window, and a published list of official routes gives impostors less room. I also submitted TRVC's contract details to a ",[15,151,154],{"href":152,"rel":153},"https:\u002F\u002Fgithub.com\u002FBoggedFinance\u002FBogged-Token-List\u002Fpull\u002F39",[19],"BSC token list"," on 9 May, so that wallets and charts using it show the right contract.",[11,157,158],{},"The cost of a deadline is that some holders will not move in time. That is why a closing notice has to be specific about the hour, the time zone, the official routes and what is not official.",{"title":160,"searchDepth":161,"depth":161,"links":162},"",2,[163,164,165,166],{"id":34,"depth":161,"text":35},{"id":87,"depth":161,"text":88},{"id":121,"depth":161,"text":122},{"id":137,"depth":161,"text":138},"Security",null,"\u002Fimg\u002Fblog-covers\u002F2021-05-06-migrating-holders-without-their-keys.webp","Tokens crossing a white bridge between two glass platforms, a key resting on the near platform.","2021-05-06","May 2021: moving TRVC holders from Trivechain to Binance Smart Chain through a wallet bridge, a migrator that runs locally and an exchange route, and the security trade-off in each.","md",false,{},true,"\u002Fblog\u002F2021-05-06-migrating-holders-without-their-keys",{"title":5,"description":172},"blog\u002F2021-05-06-migrating-holders-without-their-keys","2021","2026-11-07","ixOs_tCK6HLYOl512zZDA4yUO-p7y-2_HVctotx7xSI",1794838285282]