This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: bitcoind | |
# Required-Start: $remote_fs | |
# Required-Stop: $remote_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: bitcoind daemon startup script | |
# Description: bitcoind daemon startup script | |
### END INIT INFO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rpcauth=bitcoinrpc:2c36ebb190eba7bb00df12ddda7b5115$f1a1d565e8d6aad38b6c31d4c2d922b7f180b020b83fdf4e7fe77bd825fb6607 | |
# Use this instead of rpcauth for server < 0.18 | |
# rpcuser=bitcoinrpc | |
# rpcpassword=JRkDy3tgCYdmCEqY1VdfdfhTswiRva | |
server=1 | |
rest=1 | |
txindex=1 | |
rpcthreads=8 | |
rpcbind=127.0.0.1 | |
rpcbind=5.196.65.205 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Blockchain2graph. | |
# | |
# blockchain2graph configuration. | |
blockchain2graph.address=5.196.65.205 | |
blockchain2graph.port=8080 | |
blockchain2graph.date.format=HH:mm | |
# | |
# Bitcoind access configuration. | |
bitcoind.hostname=5.196.65.205 | |
bitcoind.port=8332 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Blockchain2graph-bitcoin-neo4j | |
After=syslog.target | |
[Service] | |
Environment="SPRING_DATA_NEO4J_URI=bolt://neo4j:b2g135!@localhost" | |
Environment="BITCOINCORE_HOSTNAME=5.196.65.205" | |
Environment="BITCOINCORE_PORT=8332" | |
Environment="BITCOINCORE_USERNAME=bitcoinrpc" | |
Environment="BITCOINCORE_PASSWORD=JRkDy3tgCYdmCEqY1VdfdfhTswiRva" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
# ==================================================================================================================== | |
# https://hub.docker.com/r/ruimarinho/bitcoin-core/ | |
bitcoin-core: | |
image: ruimarinho/bitcoin-core:0.18.1 | |
volumes: | |
- ./data/bitcoin-core:/home/bitcoin/.bitcoin | |
ports: | |
- 8332:8332 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package production.tech.cassandre.trading.bot; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import org.springframework.beans.factory.annotation.Autowired; | |
import org.springframework.core.env.Environment; | |
import org.springframework.mail.SimpleMailMessage; | |
import org.springframework.mail.javamail.JavaMailSender; | |
import org.ta4j.core.BaseStrategy; | |
import org.ta4j.core.Strategy; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Introduction | |
We are going to build and run Taproot Assets Protocol daemon on Ubuntu. | |
We will need a running LND node and Btcd this way: | |
<div class="mermaid"> | |
graph LR | |
TAPD["Taproot Assets Protocol daemon"] | |
TAPD --> LND["LND"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I created an asset: | |
``` | |
docker exec -it 7e64369f79c7 \ | |
tapcli assets mint \ | |
--type normal \ | |
--name roylloCoin \ | |
--supply 999 \ | |
--meta_bytes "Test by Royllo" \ | |
--enable_emission true | |
``` |