Skip to content

Instantly share code, notes, and snippets.

View cleancoindev's full-sized avatar
🦦
OtterMarkets eh? *rolls eyes*

cleancoindev

🦦
OtterMarkets eh? *rolls eyes*
View GitHub Profile
@cleancoindev
cleancoindev / AvaxGods.sol
Created May 28, 2023 01:29 — forked from adrianhajdin/AvaxGods.sol
Avax Gods - Online Multiplayer Web3 NFT Card Game
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.16;
import '@openzeppelin/contracts/token/ERC1155/ERC1155.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol';
/// @title AVAXGods
/// @notice This contract handles the token management and battle logic for the AVAXGods game
@adrianhajdin
adrianhajdin / AvaxGods.sol
Last active January 9, 2025 21:24
Avax Gods - Online Multiplayer Web3 NFT Card Game
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.16;
import '@openzeppelin/contracts/token/ERC1155/ERC1155.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol';
/// @title AVAXGods
/// @notice This contract handles the token management and battle logic for the AVAXGods game
@gorgos
gorgos / High-Stakes Roulette Example
Last active September 22, 2025 06:28
Example for a contract for playing high-stakes Roulette on the blockchain
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
contract BankOwned {
address public bankAddress;
constructor() {
bankAddress = msg.sender;
}
ContractAddress TokenName TokenSymbol holder count transfer count # of times appears in list notes
0x420b595d8b648971b3bfcf46e66544c384860536 VenmoCash VMO 1 6 2
0xdeeb40536e94be7226b77fb89d7d3cd65a82fb85 Zoom Protocol ZOM 1 9 2
0xe670848d54788997942ecf938cd23b09550bae73 TARO TARO 1 4 2
0xf28fec34928a1dc19b650104ae082665b66f720e ETH/BTC Long-Only Alpha XTF.SWCEBL 1 4 2
0x030385efc63ebda6021d9098b1fcc422547d83d3 Tacos @ Taconomics.io $TACO 2 5 2
0x03bb9bbf0423e44370e88ec5fc31eecf4e2b4ac2 STVKE.Network STV 2 9 2
0x05e850909664a3cf926ca4777c3ec1577d36ec18 OnFlow Flow 2 8 2
0x06ca771a689d6d5f5e435be2ef1d1ffc6bdb3b4c Wing Token WING 2 8 2
0x08a958bdc9e0beb0c3ee2ec6e9c0013f14ce66e5 Harold Returns KEKW 2 6 2
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@samjoshuva
samjoshuva / litecoin fork
Last active August 26, 2025 06:06
how to fork and deploy litecoin
sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils
sudo apt-get install libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev
sudo apt-get install libminiupnpc-dev
sudo apt-get install libzmq3-dev
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev
@ilmaestro
ilmaestro / player_movement.gml
Created October 15, 2016 19:44
gamemaker player movement script
/// Player movement script
/// arg0 = velocity
/// should be called in a step
{
// Local vars & args
velocity = argument[0];
xVel = 0;
yVel = 0;
// check keyboard events