Skip to content

Instantly share code, notes, and snippets.

View atlaschiew's full-sized avatar
😴
i am busy sleeping

Atlas Chiew atlaschiew

😴
i am busy sleeping
  • Kuala Lumpur, Malaysia
View GitHub Profile
@atlaschiew
atlaschiew / gist:44b4cc20f6644977e95d7cdaf9f56cb5
Created November 14, 2019 05:50
bitwasp_script_p2pkh_address.php
<?php
use BitWasp\Bitcoin\Address\PayToPubKeyHashAddress;
use BitWasp\Bitcoin\Bitcoin;
use BitWasp\Bitcoin\Crypto\Random\Random;
use BitWasp\Bitcoin\Key\Factory\PrivateKeyFactory;
use BitWasp\Buffertools\Buffer;
use BitWasp\Bitcoin\Network\NetworkFactory;
use BitWasp\Bitcoin\Script\Opcodes;
$errmsg = '';

Keybase proof

I hereby claim:

  • I am atlaschiew on github.
  • I am atlaschiew (https://keybase.io/atlaschiew) on keybase.
  • I have a public key whose fingerprint is 1237 5527 0065 6D68 D9F2 9CC2 56D0 9630 2E4F 198B

To claim this, I am signing this object:

@atlaschiew
atlaschiew / testpolygonhack.sol
Created May 2, 2022 17:10
Test Polygon Hack
pragma solidity ^0.8.0;
contract Data {
bytes public ConKeepersPkBytes;
address public caller;
modifier onlyOwner {
require(msg.sender == caller, "onlyOwner");
_;