0.0.1 • Published 2 years ago

georacle v0.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Georacle Smart Contracts

Installation

# via Yarn
$ yarn add georacle
# via npm
$ npm install georacle --save

Directory Structure

georacle/contracts
├── examples
│   ├── Area.sol
│   ├── BBox.sol
│   ├── Proximity.sol
│   ├── Geocode.sol
│   ├── ReverseGeocode.sol
│   └── Geometry.sol
└── src
    ├── v0.7
    └── v0.8

Usage

The solidity smart contracts can be imported via the src directory of @georacle/contracts

import 'georacle/contracts/src/v0.8/.sol';

Local Development

Use the Hardhat enviroment to interact with Georacle locally

# Clone this repo
$ git clone https://github.com/georacleapi/georacle.git && cd georacle

# Continuing via Yarn
$ yarn && yarn test