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 { ethers } from "ethers"; | |
export declare interface Strategies { | |
DataExtractionStrategy: DataExtractionStrategies; | |
PersistenceStrategy: PersistenceStrategies; | |
} | |
export interface DataExtractionStrategies { [iteration: number]: DataExtractionStrategy; } | |
export declare interface DataExtractionStrategy { |
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
# Create a folder with shared folders | |
mkdir config models database strategies plugins | |
# Download neo4j plugins | |
echo "Downloading neo4j plugins" | |
curl -L "https://github.com/neo4j-contrib/neo4j-apoc-procedures/releases/download/3.5.0.4/apoc-3.5.0.4-all.jar" > plugins/apoc-3.5.0.4-all.jar | |
curl -L "https://github.com/neo4j-contrib/neo4j-graph-algorithms/releases/download/3.5.4.0/graph-algorithms-algo-3.5.4.0.jar" > plugins/graph-algorithms-algo-3.5.4.0.jar | |
# Download prepared elements | |
echo "Setting up..." |
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
module.exports = { | |
kittyId: { | |
type: 'number', | |
primary: true, | |
}, | |
genes: { | |
type: 'string', | |
}, | |
generation: { | |
type: 'number' |
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
module.exports = { | |
providers: { | |
timeout: 0, | |
infura: { | |
network: "mainnet", | |
projectId: "YOUR_PROJECT_ID" | |
}, | |
etherscan: { | |
network: 'homestead', | |
api: 'YOUR_API' |
NewerOlder