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
Verifying that +rcasatta is my Bitcoin username. You can send me #bitcoin here: https://onename.io/rcasatta |
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
### Keybase proof | |
I hereby claim: | |
* I am RCasatta on github. | |
* I am rcasatta (https://keybase.io/rcasatta) on keybase. | |
* I have a public key whose fingerprint is 42AA 978F 9FA9 F75B FE4F 79D2 66BE 79F5 892E F169 | |
To claim this, I am signing this object: |
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
Per partecipare all'estrazione del Ledger bisogna inviare una transazione di 5 mBTC all'indirizzo 1BiiBKYU2fSeRBXffqQSzH5wEemLhwpz6j | |
L'hash del primo blocco dopo le 9:30 rappresenta l'estrazione del biglietto vincente. | |
Il txid più vicino calcolato partendo dall'ultimo carattere della rappresentazione stringa esadecimale è il vincitore. | |
Esempio: | |
Hash delle tx di acquisto dei Biglietti: | |
1: eac9d20e90e45660d4e8952efc4d3c191f2d48f3d07addd8a62e5cce9565603c | |
2: ef7cb9fcb5b940dbc956f94050f2f0840c0b2dd1e4ece9e6f4337ff229cd2874 | |
3: 0e0ac98cd92a5e7e95f81864d64fe2ed242f53c374a19a9c0dbe660679e5c73a |
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
contract tokenRecipient { function receiveApproval(address _from, uint256 _value, address _token, bytes _extraData); } | |
contract MyToken { | |
/* Public variables of the token */ | |
string public name; | |
string public symbol; | |
string public version; | |
uint8 public decimals; | |
uint256 public totalSupply; |
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
[ { "constant": true, "inputs": [ { "name": "", "type": "uint256", "index": 0, "typeShort": "uint", "bits": "256", "displayName": "", "template": "elements_input_uint", "value": "" } ], "name": "owners", "outputs": [ { "name": "", "type": "address", "value": "0xc83e1b716956b21b2bb1011e8e8bc19f29553624", "displayName": "" } ], "type": "function", "displayName": "owners" }, { "constant": true, "inputs": [], "name": "name", "outputs": [ { "name": "", "type": "string", "value": "Pizza", "displayName": "" } ], "type": "function", "displayName": "name" }, { "constant": false, "inputs": [], "name": "dividend", "outputs": [], "type": "function", "displayName": "dividend" }, { "constant": true, "inputs": [], "name": "totalSupply", "outputs": [ { "name": "", "type": "uint256", "value": "100", "displayName": "" } ], "type": "function", "displayName": "total Supply" }, { "constant": true, "inputs": [], "name": "decimals", "outputs": [ { "name": "", "type": "uint8", "value": "0", "displayName": "" } ], "type": "function", |
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
[ { "constant": true, "inputs": [ { "name": "", "type": "uint256", "index": 0, "typeShort": "uint", "bits": "256", "displayName": "", "template": "elements_input_uint", "value": "" } ], "name": "proposals", "outputs": [ { "name": "recipient", "type": "address" }, { "name": "amount", "type": "uint256" }, { "name": "description", "type": "string" }, { "name": "votingDeadline", "type": "uint256" }, { "name": "executed", "type": "bool" }, { "name": "proposalPassed", "type": "bool" }, { "name": "numberOfVotes", "type": "uint256" }, { "name": "proposalHash", "type": "bytes32" } ], "type": "function", "displayName": "proposals" }, { "constant": false, "inputs": [ { "name": "proposalNumber", "type": "uint256", "index": 0, "typeShort": "uint", "bits": "256", "displayName": "proposal Number", "template": "elements_input_uint" }, { "name": "transactionBytecode", "type": "bytes", "index": 1, "typeShort": "bytes", "bits": "", "displayName": "transaction Bytecode", "template": "elements_input_bytes" } ], "name": "executePr |
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
contract MyContract { | |
/* Constructor */ | |
function MyContract() { | |
} | |
bool public dividendDistribution; // if true dividend distribution is happening | |
uint public last; // if a dividend operation was happening but did not finish it stores the next index to iterate | |
uint public dividendBalance; // balance to share for dividends | |
function dividend() { |
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/env python3 | |
from flask import Flask, request | |
from two1.wallet.two1_wallet import Two1Wallet | |
from two1.blockchain.twentyone_provider import TwentyOneProvider | |
from two1.bitcoin import utils | |
from two1.bitcoin import Script | |
from two1.bitcoin import Transaction, TransactionInput, TransactionOutput | |
from two1.bitserv.flask import Payment |
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/env python3 | |
import sys | |
import urllib.parse | |
from two1.wallet import Wallet | |
from two1.bitrequests import BitTransferRequests | |
wallet = Wallet() | |
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
[["sha256","20c7ba9c57f653b7c079df5171c196f494a5446d684c1b26a63bc5fc3fa2e25e"],["sha256","append 4c822a3b88741e8e83e7b9a289ffc97ba5dbb330cfbbf0cf67b94776edad9dcd","sha256","sha256","prepend 414c7dd644620431dfd2636c27aadb7c59845258ab0f1efb813857b9edc38e94","sha256","sha256","append 6e8d8f6163ef68207d6432bd6b368e90fbac65d0068bdcaf6b227066694b1a34","sha256","sha256","reverse","prepend 0100000001d63e8684edd156c6a0f76fbabf0518a0034e9e705a5fc55337b9df1e073612b36400000048473044022042e65a41c09f41ffdc311bba52a01700393f839d68b654be9b74139d8afb8d6302200d496df8d8cdaa8a9dda3f4997f4d2fca0ce0cf2d5361ee4ec2ed109a97ed98501ffffffff010000000000000000256a23584557","append 00000000","sha256","sha256","prepend f35e8feeb21d35f2542f18f5399962c6f6ed8bd6c1a8e9fbf4335865316c145f","sha256","sha256","append 1c7541ea64f5325f90526abb9755177585dafca1f6168618cfcb9b518cfecad1","sha256","sha256","append bc1ecca4e046b51ef5291cc0bc9021bc29730b93f660bbc02e8f7e1933d9a65c","sha256","sha256","append c151d83f8534ae8da90a17f923b1ad48872f4b176a94178eee |
OlderNewer