Useful links on Covid-19
Work in progress - DRAFT, WORK IN PROGRESS
Useful links on Covid-19
Work in progress - DRAFT, WORK IN PROGRESS
Some transactions on the bitcoin blockchain are not monetary transfert but notarizations or time-stamping of documents. In these transactions, the amount of the transaction itself usually doesn't matter. Other transactions are pegged/locking of BTC tokens into special scripts on the bitcoin blockchain.
Let's differenciate:
List of exchanges (big CEX and DEX) with LN with withdrawal.
Possible near future: AtomicDEX/mm2
Bitfinex
| #!/bin/bash | |
| if [ -z $1 ]; | |
| then | |
| echo "You must include an integer as an argument."; | |
| exit; | |
| fi | |
| if (( $1 > "2147483647" )) || (( $1 < "-2147483647" )); | |
| then |
| **btc_on_ac** is tokenizing testnet bitcoins on a komodo assetchain/smartchain. | |
| An address is a human-readable encoding (with a network prefix) of a pubkey. A private key that controls coins on one address is also controlling coins on all addresses that are built on the same pubkey with any network prefix. In the following explanation, I'll consider that a BTC address is the same as a KMD/smartchain address (because it is the same pubkey). | |
| Multisigs are used as n-of-m such as 7 of 12 signers to have some redundancy. | |
| # How does it work ? | |
| btc_on_ac is based on several public testnet Bitcoin explorer (with API) and a deposit bitcoin/komodo address (pubkey) hardcoded in the code. | |
| For each block mined, |
ac_aur is a new experimental ac_param for smartchains/assetchains that allows to have active user reward. TAUR stands for Test Active User Reward, it is the name of the blockchain and the name of the token/coin. TAUR tokens are meant to be testcoins with no monetary value.
Please feel free to review https://github.com/KomodoPlatform/komodo/compare/master...phm87:ac_aur
./komodod -ac_name=TAUR -ac_aur=1,10,2,500000000,10 -ac_supply=0 -ac_reward=800000000 -ac_blocktime=10 -ac_decay=50 -ac_halving=525000 -ac_adaptivepow=1 -addnode=91.121.217.73 -addnode=178.32.41.81 &
-ac_aur=1,10,2,500000000,10 will enable active user rewards activated at block 10, min 2 coins to earn AUR, min locktime identical to Komodo (500000000), Percentage per year of 10%
How to perform an airdrop to all hodlers of an ERC20?
Problem is that it is not possible to convert an ethereum address that never spent or signed any message to its pubkey then to the equivalent KMD/BTC address. When the ethereum adress will perform one transaction or sign a message, it will reveil its pubkey.
As discussed with sylti on CryptoFR slack, it is possible to create a webpage using web3 and metamask that will ask to sign a message without broadcasting it. The signed message is retrieved offchain and verified and used to extract pubkey.
par exemple tu fork mainnet en local au block X avec ganache-cli --fork tu extrais l'adresse eth du message signe => tu connectes web3 au fork local => token.balanceOf(adresse).call() => et tu emets le resultat sur l'adresse komodo integree dans le message
We can imagine a LAN with several nodes and one explorer. The blockchain contains confirmed transactions with HTLC and existing payment channels to merchants. External third-party services can exist.