This repository was archived by the owner on Nov 14, 2022. It is now read-only.

Description
The genesis url is hardcoded in genesis-utils.ts. This should (optimally) be an input paramater after which the app handles downloading of the genesis, or (less optimal, but okay) be a parameter in the downloadGenesis method
|
async function downloadGenesis(): Promise<string> { |
|
const url = 'http://dev.greenlight.bcovrin.vonx.io/genesis' |
|
|
|
const response = await axios.get(url) |
|
|
|
return response.data |
|
} |