1.0.1 • Published 11 months ago

@spaceandtime/contracts v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

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