# Upload CosmWasm WBTC Contract

**URL:** <https://forum.osmosis.zone/t/upload-cosmwasm-wbtc-contract/246>\
**Category:** DApps / Tooling\
**Tags:** passed\
**Created:** [August 23, 2023, 1:44pm UTC](https://forum.osmosis.zone/t/upload-cosmwasm-wbtc-contract/246 "2023-08-23T13:44:51Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![JohnnyWyles](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.osmosis.zone/johnnywyles/32/3114_2.png) [@JohnnyWyles](https://forum.osmosis.zone/u/JohnnyWyles)\
**Post date:** [August 23, 2023, 1:44pm UTC](https://forum.osmosis.zone/t/upload-cosmwasm-wbtc-contract/246/1 "2023-08-23T13:44:51Z")

</div>

Passing this proposal will upload the WBTC CosmWasm contract to the Osmosis chain and recognize WBTC minted through this contract as the Canonical version of WBTC on Osmosis as the most native version.

## Details

WBTC brings Bitcoin liquidity to Defi by providing a token usable in smart contracts, backed 1:1 with Bitcoin verifiably held by a community of Custodians.

As an ERC-20 token on Ethereum, WBTC has allowed Bitcoin liquidity to be used across DeFi use cases rather than being restricted to trading on Centralised Exchanges.

This contract enables the WBTC issuance and redemption process as a native token on Osmosis.

Website: [https://wbtc.network/](https://wbtc.network/)

## Contract Details

The WBTC contract allows the issuance and redemption of WBTC according to Bitcoin present in the custodian’s wallet on the Bitcoin blockchain at the request of merchants.

Merchants perform key roles for the WBTC community as administrators who initiate the process of minting newly wrapped tokens and burning wrapped tokens which is performed by the Custodians

The custodian provides reliable, institutional-grade security for your WBTC. All WBTC issued will be fully backed and verified through on-chain proof of reserves.

The addition and removal of merchants and custodians for WBTC on Osmosis will be an open process controlled by a multi-signature contract. Keys to the multi-sig contract will be held by institutions as part of the [WBTC DAO](https://osmosis.daodao.zone/dao/osmo1ltlaul7tfvm92jj3spsfl2hj2926zr325jzt5c6mx4f3r5a872js8ax5af/proposals)

Oak Security has audited the contract, which can be viewed here: [audit-reports/Osmosis Labs/2023-08-18 Audit Report - CosmWasm WBTC v1.0.pdf at master · oak-security/audit-reports · GitHub](https://github.com/oak-security/audit-reports/blob/master/Osmosis%20Labs/2023-08-18%20Audit%20Report%20-%20CosmWasm%20WBTC%20v1.0.pdf)

Contract Information

Release Version: [V1.0.0](https://github.com/osmosis-labs/cw-wbtc/releases/tag/v1.0.0)

Git Commit ID: 876f865e0b06e519384808efe84ee906d8746c05

Code Location: [GitHub - osmosis-labs/cw-wbtc: Wrapped Bitcoin CosmWasm contract.](https://github.com/osmosis-labs/cw-wbtc)

Compiler Version: cosmwasm/workspace-optimizer:0.14.0

Checksum: f6dccc84a35b3ddc8b289ca45564eee15b3c76d1eeb8807ab2763dd83787a9fe

## Canonical Status

As part of this proposal, Osmosis recognizes the WBTC minted via this contract as the canonical version of WBTC on Osmosis.

Canonical status sets the following agreement:

**Default Asset List**

Assets will be unprefixed in the app.osmosis.zone default asset list, e.g. WBTC with all other bridges’ assets being bridge1WBTC, bridge2WBTC, etc. Osmosis DAO requests that allied/friendly front-ends do the same, though any front-end is free to make its own decisions.

**Osmosis Incentives**

The DAO commits to prioritizing the Canonical Bridge assets, incentivizing them earlier and more heavily than the comparable assets of non-canonical bridges. In general, canonical pools should earn substantially more incentives per dollar of liquidity than their counterpart pools–under the base incentives model, not necessarily counting external incentive matching.

This proposal does not directly impact the incentives currently provided to the axlWBTC/OSMO pool (712), which will be reallocated in a future proposal.

**Target On-chain date** : 30th August 2023

---

<div class="post-metadata">

**Author:** ![John\_Galt](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.osmosis.zone/john_galt/32/216_2.png) [@John\_Galt](https://forum.osmosis.zone/u/John_Galt)\
**Post date:** [August 23, 2023, 5:47pm UTC](https://forum.osmosis.zone/t/upload-cosmwasm-wbtc-contract/246/2 "2023-08-23T17:47:03Z")

</div>

Hugely in favor of this.

BTC is the biggest, most heavily traded crypto token in the world. And wBTC is the biggest, most trusted onchain version of BTC. wBTC would be a great way to grow Osmosis!

But I’m curious - when will the first real wBTC be minted? Will there be a long process of testing after this contract is uploaded, or will wBTC first be minted on Osmosis in September?

---

<div class="post-metadata">

**Author:** ![LeonoorsCryptoman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.osmosis.zone/leonoorscryptoman/32/208_2.png) [@LeonoorsCryptoman](https://forum.osmosis.zone/u/LeonoorsCryptoman)\
**Post date:** [August 24, 2023, 5:56pm UTC](https://forum.osmosis.zone/t/upload-cosmwasm-wbtc-contract/246/3 "2023-08-24T17:56:19Z")

</div>

In what sense will this differ from the bridged wBTC? Because in the end it is still the same BTC?

And how do we want to deal with this (looking ahead) when nomic will launch their IBC-enabled BTC-bridge for nBTC?

---

<div class="post-metadata">

**Author:** ![JohnnyWyles](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.osmosis.zone/johnnywyles/32/3114_2.png) [@JohnnyWyles](https://forum.osmosis.zone/u/JohnnyWyles)\
**Post date:** [August 24, 2023, 10:02pm UTC](https://forum.osmosis.zone/t/upload-cosmwasm-wbtc-contract/246/4 "2023-08-24T22:02:12Z")

</div>

It is, but Rather than  
Ethereum → Axelar → Osmosis  
it is just  
_Osmosis_  
which has far less reliance on other chains.

Likely WBTC would still exist, as you get WBTC and BTC listed on centralised exchanges separately. The array of decentralized BTC bridges is a use for Alloyed Assets.

---

<div class="post-metadata">

**Author:** ![LeonoorsCryptoman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.osmosis.zone/leonoorscryptoman/32/208_2.png) [@LeonoorsCryptoman](https://forum.osmosis.zone/u/LeonoorsCryptoman)\
**Post date:** [August 28, 2023, 6:39pm UTC](https://forum.osmosis.zone/t/upload-cosmwasm-wbtc-contract/246/5 "2023-08-28T18:39:16Z")

</div>

But where is the underlying collateral stored?

In essence for wBTC there is a collateral locked somewhere to ensure we do not create an additional 21 million BTC, but that 1 BTC is taken out of circulation to create 1 wBTC.

Is that the case here as well? Otherwise we are just printing money (which kinda is against where BTC started)

---

<div class="post-metadata">

**Author:** ![JohnnyWyles](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.osmosis.zone/johnnywyles/32/3114_2.png) [@JohnnyWyles](https://forum.osmosis.zone/u/JohnnyWyles)\
**Post date:** [August 29, 2023, 8:00am UTC](https://forum.osmosis.zone/t/upload-cosmwasm-wbtc-contract/246/6 "2023-08-29T08:00:11Z")

</div>

On the Bitcoin chain, WBTC is fully collateralized by the custodians: [Wrapped Bitcoin ( WBTC ) an ERC20 token backed 1:1 with Bitcoin](https://wbtc.network/dashboard/audit)

It’s actually really transparent, I was crawling through all the wallets during the depeg scare last year 🙂

---

<div class="post-metadata">

**Author:** ![LeonoorsCryptoman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.osmosis.zone/leonoorscryptoman/32/208_2.png) [@LeonoorsCryptoman](https://forum.osmosis.zone/u/LeonoorsCryptoman)\
**Post date:** [August 30, 2023, 5:21pm UTC](https://forum.osmosis.zone/t/upload-cosmwasm-wbtc-contract/246/7 "2023-08-30T17:21:21Z")

</div>

I know the working indeed, I was more looking towards whether the CosmWasm wBTC contract on Osmosis would work exactly equal like on ETH.

And that 1 BTC which is used to mint wBTC on Osmosis is not also used to mint wBTC on Ethereum, because in that case we break the system ^^

---

<div class="post-metadata">

**Author:** ![JohnnyWyles](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.osmosis.zone/johnnywyles/32/3114_2.png) [@JohnnyWyles](https://forum.osmosis.zone/u/JohnnyWyles)\
**Post date:** [August 30, 2023, 8:16pm UTC](https://forum.osmosis.zone/t/upload-cosmwasm-wbtc-contract/246/8 "2023-08-30T20:16:11Z")

</div>

It will be treated separately and exactly equal. We are the 3rd chain here in fact, Tron being the second outside Ethereum. Won’t be duplicating the worth or each WBTC would be worth 1/2 or 1/3 of a BTC

---

<div class="post-metadata">

**Author:** ![LeonoorsCryptoman](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.osmosis.zone/leonoorscryptoman/32/208_2.png) [@LeonoorsCryptoman](https://forum.osmosis.zone/u/LeonoorsCryptoman)\
**Post date:** [September 3, 2023, 6:14pm UTC](https://forum.osmosis.zone/t/upload-cosmwasm-wbtc-contract/246/9 "2023-09-03T18:14:25Z")

</div>

Thanks for this reply. This was exactly what I was searching for!
