git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| contract Escrow( | |
| bytes20 sellerPHK, // Hash160 of seller's public key | |
| bytes20 buyerPKH, // Hash160 of buyer's public key | |
| bytes20 arbitratorPKH, // Hash160 of arbitrator's public key | |
| bytes escrowKey // Nonce (just some unimportant random bytes unique per exchange) | |
| ) { | |
| function spend( | |
| sig spenderSig, | |
| pubkey spenderPK, | |
| datasig oracleSig, |
| <!DOCTYPE html> | |
| <!-- | |
| This HTML creates a web page that loads an IPFS node. You can interact with it by opening a browser console and interacting | |
| with the 'node' variable. | |
| --> | |
| <html lang="en"> | |
| <head> |
| const axios = require('axios').default | |
| const bchAddress = 'bitcoincash:qpnty9t0w93fez04h7yzevujpv8pun204qv6yfuahk' | |
| const SERVER = process.env.SERVER | |
| // Get hydrated UTXOs from an address | |
| const hydrateSLP = async (address) => { | |
| try { | |
| if (!address || typeof address !== 'string') { |
| const axios = require('axios').default | |
| const bchAddress = 'bitcoincash:qpnty9t0w93fez04h7yzevujpv8pun204qv6yfuahk' | |
| const SERVER = process.env.SERVER | |
| // Get SLP balance of an address | |
| const slpBalances = async (address) => { | |
| try { | |
| if (!address || typeof address !== 'string') { |
| const createHash = require('create-hash') | |
| const { Avalanche, BinTools, BN } = require('avalanche') | |
| const { KeyChain } = require('avalanche/dist/apis/evm') | |
| const avm = require('avalanche/dist/apis/avm') | |
| const { Signature } = require('avalanche/dist/common/credentials') | |
| const ava = new Avalanche('api.avax.network', 443, 'https') | |
| const bintools = BinTools.getInstance() | |
| const xchain = ava.XChain() |
| // 1. Create Subnet | |
| // 1. Create Users | |
| // 2. Generate Conrol Keys | |
| // 3. Export/Import User | |
| // 2. Adding a Validator to a Subnet | |
| // 1. Add a Validator to the Default Subnet | |
| // 2. Add a Validator to a Non-default Subnet | |
| // 3. Create a New Blockchain | |
| // 1. Create the Genesis Data | |
| // 2. Interact With the New Blockchain |
| [Unit] | |
| Description=IPFS daemon | |
| After=network.target | |
| [Service] | |
| ### Uncomment the following line for custom ipfs datastore location | |
| # Environment=IPFS_PATH=/path/to/your/ipfs/datastore | |
| ExecStart=/usr/local/bin/ipfs daemon | |
| Restart=on-failure |
| [Unit] | |
| Description=IPFS daemon | |
| After=network-online.target | |
| [Service] | |
| ExecStart=/home/ipfs/.nix-profile/bin/ipfs daemon | |
| User=ipfs | |
| LimitNice=10 | |
| MemoryHigh=4G | |
| # OOM-killer |
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| [ | |
| { | |
| owner: 'bcoe', | |
| repo: 'top-npm-users', | |
| description: ':star: Generate a list of top npm users by based on monthly downloads.', | |
| language: 'JavaScript', | |
| isFork: false, | |
| stargazers: 27, | |
| watchers: 27 | |
| } |