@wallfair.io/smart_contract_mock
v0.11.7
Published
Wallfair Smart Contract Contract Mock in JS.
Downloads
6
Readme
Smart Contract JS Mock
A collection of JavaScript classes to emulate the mechanics of the Smart Contracts that will be deployed by Wallfair.
Configuration
| ENV | Default Value | Example Value | |----------------------|---------------|---------------| | POSTGRES_USER | postgres | postgres | | POSTGRES_HOST | localhost | localhost | | POSTGRES_DB | testdb | testdb | | POSTGRES_PASSWORD | postgres | postgres | | POSTGRES_PORT | 5432 | 5432 | | POSTGRES_DISABLE_SSL | | true | | POSTGRES_CA | | ~/ca.crt |
For convenience, a .env.example
is provided. This file can be renamed to .env
and adjusted.
Disclaimer
This code is intended to be used only for the MVP launch, and will eventually be replaced by actual Smart Contracts.
Copyright
2021 - Wallfair.