@redstone-finance/evm-connector
v0.7.3
Published
A tool to inject RedStone data into EVM compatible smart contracts
Downloads
11,751
Readme
🔗 @redstone-finance/evm-connector
The @redstone-finance/evm-connector module implements an alternative design of providing oracle data to smart contracts. Instead of constantly persisting data on EVM storage (by data providers), the information is brought on-chain only when needed (by end users). Until that moment data remains in the decentralized cache layer, which is powered by RedStone light cache gateways and streamr data broadcasting protocol. Data is transferred to the EVM by end users, who should attach signed data packages to their transaction calldata. The information integrity is verified on-chain through signature checking.
Getting started
Please refer to documentation
👨💻 Development and contributions
The codebase consists of a wrapper written in typescript which is responsible for packing the data and solidity smart contracts that extract the information. We encourage anyone to build and test the code and we welcome any issues with suggestions and pull requests.
Installing the dependencies
yarn install
Compiling and running the tests
yarn test
📄 License
RedStone EVM connector is an open-source and free software released under the BUSL-1.1 License.