5.0.4 • Published 11 months ago
@airswap/stores v5.0.4
Stores
Storage for Indexing
Resources
- About → https://about.airswap.io/
- Website → https://www.airswap.io/
- Twitter → https://twitter.com/airswap
- Chat → https://chat.airswap.io/
Usage
Add the package to your project:
yarn add @airswap/storesImport into your application:
import { Redis } from '@airswap/stores';
const store = new Redis(process.env.REDISCLOUD_URL)Dockerized Redis for local development:
docker run -p 6379:6379 --name redis-stack redis/redis-stack:latestFlush and create Redis indexes:
yarn compile; yarn redis:initCommands
| Command | Description |
|---|---|
yarn | Install dependencies |
yarn clean | Delete the contract build folder |
yarn compile | Compile all contracts to build folder |
yarn test | Run all tests in the test folder |