PHP
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
const fs = require('fs') | |
let axios = require('axios') | |
const https = require('https') | |
const macaroon = fs.readFileSync('./admin.macaroon').toString('hex') | |
const myNode = axios.create({ | |
baseURL: '', // Your endpoint here | |
httpsAgent: new https.Agent({ |
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
import lightning_pb2 as ln | |
import lightning_pb2_grpc as lnrpc | |
import codecs | |
import grpc | |
import os | |
# Due to updated ECDSA generated tls.cert we need to let gprc know that | |
# we need to use that cipher suite otherwise there will be a handhsake | |
# error when we communicate with the lnd rpc server. | |
os.environ["GRPC_SSL_CIPHER_SUITES"] = 'HIGH+ECDSA' |
- issue: Translations only work after refresh at the correct url
- cause: window.WP (which specifies the correct urls for language files) is only fetched after refresh
How do we reset the window.WP object before a new view is rendered?
Files to look into:
Small tasks to do to understand how the crypto backend works.
- Set up developer account on blockcypher
- Download crypto-server repo and install all modules https://github.com/timothyylim/crypto-server
- rename .env-sample to .env and add your own developer token from blockcypher
Try the following
- Create a wallet (read and understand setup.js, run setup.js by
node setup.js
) - Derive an address
echo $XP_HOME
export XP_HOME=/path/to/home/directory
./gradlew deploy -t
NewerOlder