# Reference implementation of blockchain concept

**URL:** <https://forums.counterparty.io/t/reference-implementation-of-blockchain-concept/1707>\
**Category:** Support\
**Created:** [December 11, 2015, 7:03am UTC](https://forums.counterparty.io/t/reference-implementation-of-blockchain-concept/1707 "2015-12-11T07:03:58Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![something](https://yyz2.discourse-cdn.com/flex004/user_avatar/forums.counterparty.io/something/32/240_2.png) [@something](https://forums.counterparty.io/u/something)\
**Post date:** [December 11, 2015, 3:09pm UTC](https://forums.counterparty.io/t/reference-implementation-of-blockchain-concept/1707/3 "2015-12-11T15:09:23Z")

</div>

Chitty27 helped with some details and he’s more:

(1) Web API to create a wallet: you can reference Counterwallet source (e.g. see [https://github.com/CounterpartyXCP/counterwallet/blob/master/src/js/components/wallet.js](https://github.com/CounterpartyXCP/counterwallet/blob/master/src/js/components/wallet.js)). Here on forum you can see a simple wallet creation process in the [code of Counterwallet Helper](https://forums.counterparty.io/t/is-it-possible-to-create-the-list-of-addresses-from-counterwallet-pass-phrase/1223).  
(2) You can get dummy XCP by getting BTC at a faucet and then once they’re at your address click on BTC and “Burn” and you’ll get testnet XCPs in return (this emulates the way XCPs were originally created, by burning BTC for XCP).  
More here: [How do I get XCP on Counterparty testnet?](https://forums.counterparty.io/t/how-do-i-get-xcp-on-counterparty-testnet/1160)

Tokenly which Chitty27 mentioned has some of their PHP-based source on Github as well.

---

_[View the full topic](https://forums.counterparty.io/t/reference-implementation-of-blockchain-concept/1707)._
