@spaceandtime/contracts

1.0.1 • Public • Published

spaceandtime/contracts

SxT Contracts | Public Chainlink Contracts

This repository has all the public contracts available via npm module.

If you wish to use the Space and Time smart contracts to send data to your smart contracts that uses Chainlink for fulfilling the requests submitted. These smart contracts would be helpful to create your own contracts inheriting these contracts.

# via npm
$ npm install @spaceandtime/contracts --save

Directory Structure

@spaceandtime/contracts
├── direct-request # Direct Request smart contracts
│   ├── interfaces
│   ├── UserRequest.sol
└── functions # Function smart contracts
    ├── interfaces
    ├── vendor
    ├── Functions.sol
    └── FunctionsClient.sol

Usage

The solidity smart contracts themselves can be imported via the direct-request and functions directory of @spaceandtime/contracts:

import '@spaceandtime/contracts/direct-request/UserRequest.sol';

import '@spaceandtime/contracts/functions/FunctionsClient.sol';

License

MIT

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i @spaceandtime/contracts

    Weekly Downloads

    0

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    47.9 kB

    Total Files

    12

    Last publish

    Collaborators

    • rpatidar-systango
    • lmaheshwari1