In order to make the request to some Makerdao services you may need to create your own user
and password
To obtain this data you should use this procediment
, consisting on send a POST
request to the endpoint:
https://data-api.makerdao.network/v1/users/register
With the parameters in this structure:
{
"password": "string",
"email": "user@example.com",
"full_name": "string"
}
Once you have a email/password
you should copy the file .env.example
to a new file called .env
and replace its email_in_makerdao_network
and password__in_makerdao_network
with the email and password previusly registered
Open the collateral-structure.yaml file located inside src/. Edit the file by adding the Collaterals you need to customize:
collaterals:
- name: RENBTC-A # name of the Collateral you want to modify
human_readable_name: RENBTC # Custom Name
icon: ren_logo.svg # Custom Icon
- name: XBTC
human_readable_name: X-BTC-TOKEN
icon: xbtc_logo.svg
The icons are stored in the public/icons/ folder. You just need to type their name in the collateral-structure.yaml file and then save the changes.