Skip to content

Instantly share code, notes, and snippets.

@shruggr
shruggr / Battle.sol
Created July 12, 2018 19:45
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.4.24+commit.e67f0147.js&optimize=true&gist=
pragma solidity 0.4.24;
import "zeppelin-solidity/contracts/token/ERC20/ERC20Basic.sol";
import "./CryptoFightsHero.sol";
import "./Managed.sol";
import "./interfaces/IBattleAction.sol";
contract BattleCore is Managed {
struct Battle {
uint16 turnCounter;
@shruggr
shruggr / fossil-protocol.md
Created August 5, 2019 16:35
Fossil Blockchain Protocol

Fossil Blockchain Protocol

"Block Funding" Transaction

Outputs

vout 0-n

  • Payments to be used to fund Transaction List transactions

OP_RETURN

  • BLOCK HEAD Protocol ID - 1AWEpKHWcdhXCfdPGH4zKEP1EMzSZAWsgB
  • ChainID - BTC, BCH