sora-xor / sora-card

Designing a Better World Through Decentralized Technologies
4 stars 1 forks source link

[Tech]: Remove option to change receiving address in X1 widget #54

Closed bgodlin closed 11 months ago

bgodlin commented 1 year ago

Problem statement

Currently users can choose whether to send the XOR they buy through the X1 widget to their SOR address (external) or to the X1 address. To avoid any confusion, we should remove the option to send funds to the X1 address and only allow to send funds to the SORA address.

Definition of Done

Option to change receiving address disabled

Requirements

As the widget is being initialized, the inclusion of the following two parameters is necessary:

DEV/TEST env. data-to-blockchain="TXOR" and data-disable-to-blockchain="true"

PROD env. data-to-blockchain="XOR" and data-disable-to-blockchain="true"

Sub-tasks