{"description":"How to link your OpenBazaar GUID to your Blockstack ID","author":{"@type":"Person","name":"Blockstack"},"@type":"BlogPosting","url":"https://zbabystack.netlify.com/core/naming/openbazaar.html","headline":"How to link your OpenBazaar GUID to your Blockstack ID","dateModified":"2018-09-10T15:46:41-07:00","datePublished":"2018-09-10T15:46:41-07:00","mainEntityOfPage":{"@type":"WebPage","@id":"https://zbabystack.netlify.com/core/naming/openbazaar.html"},"@context":"http://schema.org"}</script>
<li><ahref="#profile-is-in-legacy-format"id="markdown-toc-profile-is-in-legacy-format">Profile is in legacy format</a></li>
<li><ahref="#failed-to-broadcast-update-transaction"id="markdown-toc-failed-to-broadcast-update-transaction">Failed to broadcast update transaction</a></li>
</ul>
</li>
</ul>
<p>If you don’t have the Blockstack CLI. Download and install it first. Instructions are <ahref="https://github.com/blockstack/blockstack-cli/blob/master/README.md">here</a>. The rest of this tutorial assumes that you’ve already registered a name using the Blockstack CLI.</p>
<p>The first step is to activate “advanced mode” in the CLI. The command to do so is:</p>
<divclass="highlighter-rouge"><preclass="highlight"><code> $ blockstack set_advanced_mode on
</code></pre>
</div>
<h2id="step-2--add-an-openbazaar-account">Step 2: Add an OpenBazaar Account</h2>
<p>The second step is to create an OpenBazaar account for your profile (the <ahref="https://onename.com">Onename</a> app also enabled to link your OpenBazaar GUID). The command to do so is:</p>
<divclass="highlighter-rouge"><preclass="highlight"><code> $ blockstack put_account "<BLOCKSTACK ID>" "openbazaar" "<YOUR OB GUID>" "<URL TO YOUR STORE>"
</code></pre>
</div>
<p>The URL can be any valid URL; it won’t be used by OpenBazaar. Here’s an example, using the name <codeclass="highlighter-rouge">testregistration001.id</code> and the GUID <codeclass="highlighter-rouge">0123456789abcdef</code>:</p>
<h2id="profile-is-in-legacy-format">Profile is in legacy format</h2>
<p>If you registered your blockstack ID before spring 2016, there’s a chance that your profile is still in a legacy format. It will get migrated to the new format automatically if you update your profile on the <ahref="https://onename.com">Onename</a> app. However, you have to do this manually with the CLI.</p>
<p>It will take a little over an hour to complete, but once finished, you’ll be able to manage your accounts with the above commands (and do so with no delays).</p>
<h2id="failed-to-broadcast-update-transaction">Failed to broadcast update transaction</h2>
<p>This can happen during a <codeclass="highlighter-rouge">migrate</code> for one of a few reasons:</p>
<ul>
<li>You do not have enough balance to pay the transaction fee (which is calculated dynamically).</li>
<li>Your payment address has unconfirmed transactions.</li>
<li>You can’t connect to a Bitcoin node.</li>
</ul>
<p>To determine what’s going on, you should try the command again by typing <codeclass="highlighter-rouge">BLOCKSTACK_DEBUG=1 blockstack ...</code> instead of <codeclass="highlighter-rouge">blockstack...</code>.</p>
<divclass="share uk-text-center">
<ahref="https://twitter.com/intent/tweet?text=How to link your OpenBazaar GUID to your Blockstack ID&url=https://zbabystack.netlify.com/core/naming/openbazaar.html&via=&related="rel="nofollow"target="_blank"title="Share on Twitter"onclick="window.open(this.href, 'twitter', 'width=550,height=235');return false;"><spandata-uk-icon="icon: twitter; ratio: 1.2"></span></a>
<aclass="uk-margin-small-left"href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fzbabystack.netlify.com%2Fcore%2Fnaming%2Fopenbazaar.html"rel="nofollow"target="_blank"title="Share on Facebook"onclick="window.open(this.href, 'facebook-share','width=580,height=296');return false;"><spandata-uk-icon="icon: facebook; ratio: 1.2"></span></a>