Skip to content

Instantly share code, notes, and snippets.

@wimkung
wimkung / docker-compose.yml
Created December 21, 2018 05:05 — forked from pantsel/docker-compose.yml
example docker-compose.yml for kong, postgres and konga
version: "3"
networks:
kong-net:
driver: bridge
services:
#######################################
# Postgres: The database used by Kong
@wimkung
wimkung / Wimkung1155.sol
Last active March 2, 2022 02:39
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.7+commit.e28d00a7.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
contract WimkungAsset is ERC1155 {
uint256 public constant GOLD = 0;
uint256 public constant SILVER = 1;
constructor() ERC1155("https://game.example/api/item/{id}.json") {