1.0.0 • Published 7 months ago

@storknetwork/stork_pyth_adapter v1.0.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
7 months ago

Stork Pyth Adapter

This contract is a light wrapper around the Stork EVM contract which conforms to Pyth's IPyth interface.

Integrate with Your Solidity Contracts

  1. Install the Stork Pyth Adapter npm package in your project
npm i @storknetwork/stork_pyth_adapter
  1. Import the Stork Pyth Adapter contract into your solidity contract using:
import "@storknetwork/stork_pyth_adapter/contracts/StorkPythAdapter.sol";
  1. Create a StorkPythAdapter contract. This object takes in the contract address of Stork's contract on this chain:
storkPythAdapter = new StorkPythAdapter(storkContract);

You can see a simple working example of a Solidity contract using this here.

Publish to npm

  1. update the package.json version
  2. npm login
  3. npm publish --access public
1.0.0

7 months ago

0.0.9

7 months ago

0.0.8

7 months ago

0.0.7

7 months ago

0.0.6

7 months ago

0.0.5

7 months ago

0.0.4

7 months ago

0.0.3

7 months ago

0.0.2

7 months ago

0.0.1

7 months ago