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
^declare currentTime | |
^declare ticketPrice | |
^declare minNumPlayers | |
^declare endTime | |
^declare buffer1 | |
^declare deadAT | |
^declare currentWinner | |
^declare currentTickets | |
^declare previousBalance | |
^declare currentBalance |
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 antonyip on github. | |
* I am antonyip (https://keybase.io/antonyip) on keybase. | |
* I have a public key ASAPoapAJfr_O92bUh0xT2UQHbfyCZfCvn1hkgIS_pTXtAo | |
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
1. Can you tell us a little bit about yourself and your history/involvement with Burst? | |
Hi, I'm ant. I joined Burst around March or April in 2017 when searching around for crypto currencies to invest in, Burst caught my eye as it was the only platform that was doing mining based on Proof-of-Capacity. At that time, burst-team.org vs burstnation was the main thing going on and I did some random activities such as the burst card competition (MR BURST! haha) and some photoshop for advertisements for H, on the burstize asset. Later on, I just watched the space burn during the burst transaction flooding wars, and the fiasco when Focus and Jason tried to bring a bunch of coders (Lex, Ice and the Cat guy) together in order to restart wallet development. Didn't really like what was happening there and decided to look into smart contracts. | |
2. What work have you done with Burst ATs? What was that experience like and what were your thoughts? | |
All my work can be found here (https://github.com/antonyip/BurstAT). I made a f |
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
curl https://api-dfk.avax.network/rpc -X POST -H "Content-Type: application/json" --data '{ | |
"jsonrpc": "2.0", | |
"method": "eth_blockNumber", | |
"id": 1, | |
"params": {} | |
}' | |
curl https://api-dfk.avax.network/rpc -X POST -H "Content-Type: application/json" --data '{ | |
"jsonrpc": "2.0", | |
"method": "eth_getBlockByNumber", |
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 typing import Mapping, Union | |
# 58 character alphabet used | |
BITCOIN_ALPHABET = \ | |
b'123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz' | |
RIPPLE_ALPHABET = b'rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz' | |
XRP_ALPHABET = RIPPLE_ALPHABET | |
def scrub_input(v: Union[str, bytes]) -> bytes: | |
if isinstance(v, str): |