Skip to content

Instantly share code, notes, and snippets.

View mauricedw22's full-sized avatar
💭
Diving into the maelstrom of blockchain/IoV development!

Maurice Walker mauricedw22

💭
Diving into the maelstrom of blockchain/IoV development!
View GitHub Profile
@mauricedw22
mauricedw22 / volcanoToken.sol
Created September 13, 2021 14:53
VolcanoToken - VOLC - ERC-721 for Extropy.io Encode Club
//SPDX-lICENSE-IDENTIFIER: UNLICENSED
pragma solidity ^0.8.0;
import "https://github.com/mauricedw22/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol";
import "https://github.com/mauricedw22/openzeppelin-contracts/blob/master/contracts/token/ERC721/ERC721.sol";
contract VolcanoToken is Ownable, ERC721("Volcano Token", "VOLC") {
uint256 public tokenId;
address[] public addresses;

Keybase proof

I hereby claim:

  • I am mauricedw22 on github.
  • I am mauricedw22 (https://keybase.io/mauricedw22) on keybase.
  • I have a public key ASDAWm_fZRwQMLrHuWzTj4oVTQumsklcv5fsrQEz_63ykAo

To claim this, I am signing this object:

@mauricedw22
mauricedw22 / gist:7791f5e522cabd1fbfe1a618077df561
Created February 21, 2019 20:07 — forked from matthieu/gist:b07c5ba27bc99188a15f
Create and send a Bitcoin transaction using the BlockCypher Transaction API
# In this example we're sending some test bitcoins from an address we control to a brand new test
# address. We'll be sending the coins using the following address, public and private keys (please
# don't abuse).
# address : mtWg6ccLiZWw2Et7E5UqmHsYgrAi5wqiov
# public : 03bb318b00de944086fad67ab78a832eb1bf26916053ecd3b14a3f48f9fbe0821f
# private : 1af97b1f428ac89b7d35323ea7a68aba8cad178a04eddbbf591f65671bae48a2
# 1. generate a one-shot dummy address we're going to send money to
$ curl -X POST http://api.blockcypher.com/v1/btc/test3/addrs
{
<html>
<head>
<title>API Example</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script type="text/javascript">
var accessToken = "<your agent's client access token>";
var baseUrl = "https://api.api.ai/v1/";
@mauricedw22
mauricedw22 / code.R
Created October 30, 2015 14:11 — forked from woobe/code.R
[recharts]: ECharts Style Area Charts
## Load package
library(recharts) ## see https://github.com/taiyun/recharts
## Convert UKgas time series into a matrix
mat_UKgas <- matrix(UKgas, ncol = 4, byrow = TRUE)
rownames(mat_UKgas) <- rep(1960:1986, each = 1)
colnames(mat_UKgas) <- c("Q1", "Q2", "Q3", "Q4")
## Create the echarts plot object
e1 <- eArea(mat_UKgas,