Info here...
These instructions will create a new IPC subnet, with a single validator node and connect it to the Filecoin Calibration testnet. In production use you would configure this with multiple validators, but for the purposes of testing and development, we just create a single validator here.
On Linux (links and instructions for Ubuntu):
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 ccxt | |
import numpy as np | |
key = "mykey" | |
secret = "topsecret" | |
symbol = 'USDX/USDT' | |
exch = ccxt.ascendex({ | |
'apiKey': key, |
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
#!/usr/bin/python | |
# Email program. Copyright Matt Hamilton 2020. | |
print("You have no mail") |
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
ffmpeg -re -f alsa -ar 22100 -ac 1 -r 30 -i h1:1 \ | |
-f h264 -i - -vcodec copy -acodec aac -ab 128k -g 50 -strict experimental | |
-f flv rtmp://.... |
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
<html> | |
<link href="https://fonts.googleapis.com/css2?family=IBM+Plex+Sans&display=swap" rel="stylesheet"> | |
<style type="text/css"> | |
ul { list-style: none; padding: 0; } | |
body { background-color: black; font-family: 'IBM Plex Sans'; } | |
a { color: white; } | |
.who { color: #bb8eff; float: left; } | |
.who::after { content: ":" } | |
.what { color: white; margin-left: 0.5em; } | |
.container { |
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
FROM openwhisk/action-golang-v1.12 | |
RUN <command to install deps for go> |
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 xpring | |
import time | |
seed = 'snzBUmvTTAzCCRwGvGfKeA6Zqn4Yf' | |
wallet = xpring.Wallet.from_seed(seed) # create wallet from seed | |
dest = "rszDsdn8bUH9KRxM7DgvJS6oJ1w7kjQBfi" # where we want to send to | |
amount = 1000 # amount in drops to send | |
url = 'test.xrp.xpring.io:50051' |
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
{ | |
"addresses": [ | |
{ | |
"paymentNetwork": "XRPL", | |
"environment": "MAINNET", | |
"addressDetailsType": "CryptoAddressDetails", | |
"addressDetails": { | |
"address": "X75nEw5QD8Ej8jWt7EkJXHoVAV9YCtjuUSJppADpNtPKdim" | |
} | |
} |
NewerOlder