# Adding BSV blockchain handler

**URL:** https://community.blockcerts.org/t/adding-bsv-blockchain-handler/3088
**Category:** Technical
**Created:** [February 16, 2022, 1:49pm UTC](https://community.blockcerts.org/t/adding-bsv-blockchain-handler/3088 "2022-02-16T13:49:53Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![jkwan](https://avatars.discourse-cdn.com/v4/letter/j/278dde/32.png) [@jkwan](https://community.blockcerts.org/u/jkwan)
#### Post date: [February 16, 2022, 1:49pm UTC](https://community.blockcerts.org/t/adding-bsv-blockchain-handler/3088/1 "2022-02-16T13:49:53Z")

</div>

I like to explore the possibility of adding BSV blockchain. It should be very similar to bitcoin handler, maybe a few tweaks will make it works.

I got an ‘access right’ error when pushing my changes into the new branch. Does the ‘cert-core’ Repos need some special access permission?

---

<div class="post-metadata">

### Author: ![lemoustachiste](https://avatars.discourse-cdn.com/v4/letter/l/7c8e57/32.png) [@lemoustachiste](https://community.blockcerts.org/u/lemoustachiste)
#### Post date: [February 28, 2022, 2:34pm UTC](https://community.blockcerts.org/t/adding-bsv-blockchain-handler/3088/2 "2022-02-28T14:34:08Z")

</div>

I think you need to fork and open a PR from that fork.

---

<div class="post-metadata">

### Author: ![jkwan](https://avatars.discourse-cdn.com/v4/letter/j/278dde/32.png) [@jkwan](https://community.blockcerts.org/u/jkwan)
#### Post date: [March 3, 2022, 12:57pm UTC](https://community.blockcerts.org/t/adding-bsv-blockchain-handler/3088/3 "2022-03-03T12:57:39Z")

</div>

Thanks, I’m working on a fork repos now. Made some progress on constructing bsv tx, but now stuck at  
Check sig failure from miner.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/blockcerts/original/1X/a6b881567e483428bcdbe4cde5a61a389a829857.png)

---

<div class="post-metadata">

### Author: ![jkwan](https://avatars.discourse-cdn.com/v4/letter/j/278dde/32.png) [@jkwan](https://community.blockcerts.org/u/jkwan)
#### Post date: [March 5, 2022, 11:39pm UTC](https://community.blockcerts.org/t/adding-bsv-blockchain-handler/3088/4 "2022-03-05T23:39:25Z")

</div>

I have successfully placed the issuer hash into the BSV testnet

> **[Transaction: 8591a03ee6a32b851c0f113b0ff9ef694d7f0fbd6c95986790a258b67566541b](https://test.whatsonchain.com/tx/8591a03ee6a32b851c0f113b0ff9ef694d7f0fbd6c95986790a258b67566541b)**
>
> Block: 1479491 | TimeStamp: 2022-03-05 17:27:47 utc | Size: 202 B

 ![image](https://us1.discourse-cdn.com/flex016/uploads/blockcerts/original/1X/63a3a9528eb4d637e6547021fd6cf8e1392646b3.png)

Is anyone willing to tweak the verifier javascripts/typescripts code to support BSV?

I believe BSV support will bring interesting use cases in the future.

---

<div class="post-metadata">

### Author: ![jkwan](https://avatars.discourse-cdn.com/v4/letter/j/278dde/32.png) [@jkwan](https://community.blockcerts.org/u/jkwan)
#### Post date: [March 7, 2022, 7:51pm UTC](https://community.blockcerts.org/t/adding-bsv-blockchain-handler/3088/5 "2022-03-07T19:51:30Z")

</div>

Verifier logic should be the same with BTC, just need to change where to retrieve txn and hash.  
WhatsOnChain API is good for now, Could add more source of truth in the future.

Following are the BSV anchor in the cert file.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/blockcerts/original/1X/db9727de15eac787d650f5fd945c2eb54d442fe7.png)

PM me if you need sample BSV certs for testing.

---

<div class="post-metadata">

### Author: ![lemoustachiste](https://avatars.discourse-cdn.com/v4/letter/l/7c8e57/32.png) [@lemoustachiste](https://community.blockcerts.org/u/lemoustachiste)
#### Post date: [March 8, 2022, 7:56pm UTC](https://community.blockcerts.org/t/adding-bsv-blockchain-handler/3088/6 "2022-03-08T19:56:28Z")

</div>

Good news and good job!

I don’t have time to undertake the verification side but I suppose you need to look at the explorer lookup package: [GitHub - blockchain-certificates/explorer-lookup: low level tool to make blockchain explorer(s) calls - REST and RPC](https://github.com/blockchain-certificates/explorer-lookup)
