Skip to content

Instantly share code, notes, and snippets.

View mediavrog's full-sized avatar

Maik B mediavrog

  • @shackersNFT
  • Germany / Japan
View GitHub Profile
import { task, types } from "hardhat/config";
import fs from "fs";
import { MerkleTree } from "merkletreejs";
import keccak256 from "keccak256";
// ethers library
import "@nomiclabs/hardhat-ethers";
interface PresaleEntry {
address: string,
#!/usr/bin/env bash
# Simulate push locally. Configure the proper `deviceToken`
# to receive a push notification locally and instantaneously in debug/beta apps.
#
# - must have "adb" (Android Device Bridge) installed and executable
# - for script usage see usage() below or run the script without any parameters
# - `com.google.firebase.iid.FirebaseInstanceIdReceiver` receiver must be `exported=true` in `debug/AndroidManifest`
#<application>
# <!-- Expose this receiver to simulate push notifications via /scripts/push/trigger.sh -->
[detekt-rules build.gradle]
apply plugin: 'kotlin'
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${versions.kotlin}"
implementation "io.gitlab.arturbosch.detekt:detekt-api:${versions.detekt}"
implementation "io.gitlab.arturbosch.detekt:detekt-cli:${versions.detekt}"
testImplementation "io.gitlab.arturbosch.detekt:detekt-test:${versions.detekt}"
testImplementation "junit:junit:${versions.jUnit}"