Skip to content

Instantly share code, notes, and snippets.

View soenkeba's full-sized avatar

Sönke Bartling soenkeba

  • www.blockchainforscience.com
  • Berlin
  • X @soenkeba
View GitHub Profile
@soenkeba
soenkeba / ScienfactionExample.sol
Created October 27, 2021 22:47
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=
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
@soenkeba
soenkeba / ScienfactionExample.sol
Created October 27, 2021 20:56
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=
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
@soenkeba
soenkeba / ScienfactionwithHextoStringsipfsMITExample1ERC1155.sol
Created October 26, 2021 03:20
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=
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
/**
* @dev String operations.
*/
library Strings {
@soenkeba
soenkeba / Copy_ScienfactionwithHextoStringsipfsMITExample1ERC1155.sol
Created October 24, 2021 08:14
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=
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/utils/Strings.sol"
contract sciencefaction is ERC1155 {
uint256 public constant NFThistory = 0x01559ae4021a99b0d373d7bc8a80504bad782367abe12c21373c83adc6bf6a7e;
@soenkeba
soenkeba / Copy_ScienfactionwithHextoStringsipfsMITExample1ERC1155.sol
Created October 24, 2021 08:09
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=
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "openzeppelin/contracts/utils/Strings.sol"
contract sciencefaction is ERC1155 {
uint256 public constant NFThistory = 0x01559ae4021a99b0d373d7bc8a80504bad782367abe12c21373c83adc6bf6a7e;
@soenkeba
soenkeba / ScienfactionwithHextoStringsERC1155.sol
Created October 16, 2021 14:17
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=
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
/**
* @dev String operations.
*/
library Strings {
@soenkeba
soenkeba / TokenForKnowledgeCreationSignature.asc
Created June 19, 2017 16:23
The Signature to create scarcity in tokens for ideas/knowledge/innovations/observations/...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
The living document ‘Blockchain for Open Science and Knowledge creation’ describes a token economy for scientific ideas, concepts, observations, and leads. To establish such a thing scarcity needs to be assured (such as there is only one bitcoin, but many altcoins). Therefore, only those tokens for ideas, concepts, observations, patents, etc. that are signed with this private key are the real thing.
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org
iQIcBAEBCgAGBQJZRjlfAAoJED7VL90gO+NB3+IP/RCQxOhpn6mUa/Cu3+GFT+4f
RKZG4zynotRr3JQiFRS6OtkFMJxbMb31uJmr6wrb/8A6kJSuRYhSOpi5Nl2MdQXV
Cll0q3HDyxC4WQUOFXkbjQlFdjdNRvQeUdpmfrZjL2powkFMyYY/de8ocXvI8J8r
### Keybase proof
I hereby claim:
* I am soenkeba on github.
* I am soenkeba (https://keybase.io/soenkeba) on keybase.
* I have a public key ASD9TBFvmVCLGDV9KjT2hBZR9O1nlEXtzKWMsczyRsstLgo
To claim this, I am signing this object: