Skip to content

Instantly share code, notes, and snippets.

View nunofernandes-plight's full-sized avatar

Nuno Edgar Nunes Fernandes nunofernandes-plight

View GitHub Profile
@nunofernandes-plight
nunofernandes-plight / Simple Storage by Nuno
Created December 19, 2019 15:26
Simple Blockchain Storage
pragma solidity ^0.5.12;
contract SimpleStorageNuno {
string public text;
function set(string memory _text) public {
text = _text;
}
function get () public view returns (string memory) {
@nunofernandes-plight
nunofernandes-plight / pbt.ipynb
Last active January 13, 2020 11:43 — forked from NicolaBernini/pbt.ipynb
Property Based Testing in C++ with RapidCheck
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@nunofernandes-plight
nunofernandes-plight / Runners.sol
Last active January 18, 2024 19:09
Runners Smart Contract Solidity Code
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;
// Deploy this contract on Fuji
import "@openzeppelin/[email protected]/token/ERC721/extensions/ERC721URIStorage.sol";
import "@openzeppelin/[email protected]/utils/Counters.sol";
import "@openzeppelin/[email protected]/utils/Base64.sol";
import "@chainlink/contracts/src/v0.8/interfaces/VRFCoordinatorV2Interface.sol";
@nunofernandes-plight
nunofernandes-plight / .deps...npm...@chainlink...contracts-ccip...src...v0.8...ccip...applications...CCIPReceiver.sol
Created January 31, 2024 18:10
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=0.8.19&optimize=false&runs=200&gist=