Solidity: v1.0.2 (Mainnet)
solidity/v1.0.2
is the first Ethereum mainnet release of Threshold Network’s tBTC v2. The industry’s only decentralized and scalable Bitcoin-to-Ethereum bridge. tBTC allows users to wrap their BTC in exchange for tBTC tokens that can be deployed in DeFi.
The NPM package is available in the NPM registry as @keep-network/[email protected]
The core contracts of tBTC v2 are:
Bank
(0x65Fbae61ad2C8836fFbFB502A0dA41b0789D9Fc6
) is a central component tracking Bitcoin balances. Balances can be transferred between balance owners, and balance owners can approve their balances to be spent by others. Balances in the Bank are updated for depositors who deposited their Bitcoin into the Bridge and only the Bridge can increase balances.Bridge
(0x5e4861a80B55f035D899f66772117F00FA0E8e7B
) manages BTC deposit and redemption flow and is increasing and decreasing balances in the Bank as a result of BTC deposit and redemption operations performed by depositors and redeemers.TBTCVault
(0x9C070027cdC9dc8F82416B2e5314E11DFb4FE3CD
) is the owner of TBTC token contract and is the only contract minting the token. TBTC is an application implemented on top of the Bank.
The commit hash for clean builds is 031bafae85c35dce909b1ab2a2e437dad9e70df2
.
Signatures of commit hash from the development team (verify these in the Keybase app):
-
@lukasz-zimnoch
BEGIN KEYBASE SALTPACK SIGNED MESSAGE. kXR7VktZdyH7rvq v5weRa0zk90sDpX wIX07Cfy2Yz31Xq 8mliRvTpoVIDeBV VZiP1JZd9af7dPk 5bLvSf7TjqOCOWg RINLzx59w9xkjym dxpxmxQUkHpMmar 8qPeHTcniRnIGWM 7Op4ArQgffolH3q yo5aVl3hEeWtAFJ pJzSj4xyElaKlgw D8zFWU8mI2zJtXz R4KqE5HddjhILdB RRIUT0ox4Tgvam4 OqzvzgHr8IV02Ww . END KEYBASE SALTPACK SIGNED MESSAGE. -
@pdyraga
BEGIN KEYBASE SALTPACK SIGNED MESSAGE. kXR7VktZdyH7rvq v5weRa0zk8SRO9e gN94erb57G43YvY asc2ypx7KtJhJpq tOozFkj38nx9QsK JntcjaoUAydYwks ouh4nOSslnAU3Re X2LEtGTEyuCs7Ep uortBXh2JJtSEc9 Y9Owo7GzhDP2e2W 5wUDjfnyO2JiWM9 sUUeoQSKHhDuZv6 afIGrlxzPYpDAcx JI5zsBGMBfO0XVY OTHEX0ox4Tgvam4 OqzvzgHr8IV02Ww . END KEYBASE SALTPACK SIGNED MESSAGE. -
@nkuba
BEGIN KEYBASE SALTPACK SIGNED MESSAGE. kXR7VktZdyH7rvq v5weRa0zkUgHswq LONGnytauGuQ68W zKcm0YTewHXEGd3 2M8FiSegATyNPYw ujMhs3PwtzXPTo0 i06mAR7W91HuOtK T77W8sxOhUGiAM3 Uv845Wkz9yVcESQ IypCWy2NFyfqrgR pUzGk06QhDqR62M 1S7bvxP6tEAB3jq QAPVtySH5JhDDWL ZZksw9fgrADZPDd 375A90ox4Tgvam4 OqzvzgHr8IV02Ww . END KEYBASE SALTPACK SIGNED MESSAGE.
Finally, note that the full set of work that went into the solidity/v1.0.2
version can be found in the corresponding solidity/v1.0.2
milestone.