This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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}" |
OlderNewer