UNPKG

@graphprotocol/graph-cli

Version:

CLI for building for and deploying to The Graph

12 lines (11 loc) 369 B
import { strings } from 'gluegun'; export const source = ({ contract }) => ` account: '${contract}'`; export const mapping = ({ contractName }) => ` apiVersion: 0.0.5 language: wasm/assemblyscript entities: - ExampleEntity receiptHandlers: - handler: handleReceipt file: ./src/${strings.kebabCase(contractName)}.ts`;