Skip to content

Instantly share code, notes, and snippets.

View onimusya's full-sized avatar
🎯
Focusing

Francis Hor onimusya

🎯
Focusing
View GitHub Profile
@onimusya
onimusya / GenerateEthereumWallet.php
Last active March 27, 2022 18:58
Generate Ethereum Wallet using PHP
<?php
require_once "vendor/autoload.php";
use Sop\CryptoTypes\Asymmetric\EC\ECPublicKey;
use Sop\CryptoTypes\Asymmetric\EC\ECPrivateKey;
use Sop\CryptoEncoding\PEM;
use kornrunner\keccak;
$config = [
@onimusya
onimusya / tutorial2.js
Last active October 6, 2018 16:07
How to deploy Solidity Smart Contract by using web3js with account private key.
// Tutorial 2
// Command Line: node tutorial2.js --deploy example.sol
// The require packages
const path = require('path');
const fs = require('fs');
const solc = require('solc');
const md5File = require('md5-file');
const Web3 = require('web3');
const Tx = require('ethereumjs-tx');
@onimusya
onimusya / tutorial1.js
Created October 6, 2018 01:38
How to compile Solidity Smart Contract without Truffle
// Tutorial 1
// Command Line: node tutorial1.js --build example.sol
// The require packages
const path = require('path');
const fs = require('fs');
const solc = require('solc');
const md5File = require('md5-file');
// Retrieve the command line arguments
Verifying my Blockstack ID is secured with the address 1Q83g7LurcjFBrZikTvKWAADbHH1wLuLEL https://explorer.blockstack.org/address/1Q83g7LurcjFBrZikTvKWAADbHH1wLuLEL