BitHodl is no longer maintained. You can still use the app to withdraw your funds but you can no longer lock any more coins. If you're using BitHodl, please withdraw your bitcoins as soon as possible.
The bitcoin wallet for hodlers. Make sure to hold on to your bitcoins even through the most volatile roller coasters. BitHodl locks your BTC using pay-to-script hashes, making them impossible to spend before a specified date.
Install Node.js (v8
) using nvm:
$ nvm install v8
$ npm install
$ npm install -g react-native-cli
$ react-native link
$ react-native run-ios
This project is using Bitcore Library. And to get that to work in React Native, these hacks was necessary:
-
Used rn-nodify to add support for Node modules (Look into ReactNativify instead?)
-
node_modules/bitcore-lib/lib/script/script.js
needs to be manually modified like this:+Address = require('../address'); if (BufferUtil.isBuffer(from)) { return Script.fromBuffer(from); } else if (from instanceof Address) { ...
During development and testing it is recommended to use the testnet network. By doing so you can use testnet coins and don't risk losing any real money.
-
Configure and run a Bitcore node with testnet
You need to run a Bitcore node and configure it to use the testnet. Follow the instructions in the BitHodl Service repo.
-
Configure the BitHodl app to use testnet
Open
src/config.js
and setnetwork
totestnet
instead oflivenet
. -
Point the app to your testnet service
Once you've built and started the app, go to settings and enter the url to your testnet node from step 1.
Want to help us making BitHodl better? Great, but first read the CONTRIBUTING.md file for instructions.
BitHodl is licensed under the Apache License, Version 2.0. See LICENSE for full license text.