mirror of
https://github.com/RoboSats/robosats.git
synced 2025-07-18 16:53:16 +00:00
Update temple of sats, new prettier format
This commit is contained in:
@ -352,8 +352,8 @@ const DepthChart: React.FC<DepthChartProps> = ({
|
|||||||
? 2.7 * em
|
? 2.7 * em
|
||||||
: 1.78 * em
|
: 1.78 * em
|
||||||
: width < 25
|
: width < 25
|
||||||
? 2.7 * em
|
? 2.7 * em
|
||||||
: 1.78 * em,
|
: 1.78 * em,
|
||||||
top: 0.714 * em,
|
top: 0.714 * em,
|
||||||
}}
|
}}
|
||||||
xFormat={(value) => Number(value).toFixed(0)}
|
xFormat={(value) => Number(value).toFixed(0)}
|
||||||
|
@ -34,8 +34,8 @@ const Label = styled('label')(
|
|||||||
? '#f44336'
|
? '#f44336'
|
||||||
: '#cfcfcf'
|
: '#cfcfcf'
|
||||||
: error === true
|
: error === true
|
||||||
? '#dd0000'
|
? '#dd0000'
|
||||||
: '#717171'
|
: '#717171'
|
||||||
};
|
};
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
position: relative;
|
position: relative;
|
||||||
@ -58,8 +58,8 @@ const InputWrapper = styled('div')(
|
|||||||
? '#f44336'
|
? '#f44336'
|
||||||
: '#434343'
|
: '#434343'
|
||||||
: error === ''
|
: error === ''
|
||||||
? '#dd0000'
|
? '#dd0000'
|
||||||
: '#c4c4c4'
|
: '#c4c4c4'
|
||||||
};
|
};
|
||||||
background-color: ${theme.palette.mode === 'dark' ? '#141414' : '#fff'};
|
background-color: ${theme.palette.mode === 'dark' ? '#141414' : '#fff'};
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
@ -77,8 +77,8 @@ const InputWrapper = styled('div')(
|
|||||||
? '#f44336'
|
? '#f44336'
|
||||||
: String(sx.hoverBorderColor)
|
: String(sx.hoverBorderColor)
|
||||||
: error === true
|
: error === true
|
||||||
? '#dd0000'
|
? '#dd0000'
|
||||||
: '#2f2f2f'
|
: '#2f2f2f'
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -89,8 +89,8 @@ const InputWrapper = styled('div')(
|
|||||||
? '#f44336'
|
? '#f44336'
|
||||||
: '#90caf9'
|
: '#90caf9'
|
||||||
: error === true
|
: error === true
|
||||||
? '#dd0000'
|
? '#dd0000'
|
||||||
: '#1976d2'
|
: '#1976d2'
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -541,12 +541,12 @@ const MakerForm = ({
|
|||||||
? t('Order for ')
|
? t('Order for ')
|
||||||
: t('Swap of ')
|
: t('Swap of ')
|
||||||
: fav.type === 1
|
: fav.type === 1
|
||||||
? fav.mode === 'fiat'
|
? fav.mode === 'fiat'
|
||||||
? t('Buy BTC for ')
|
? t('Buy BTC for ')
|
||||||
: t('Swap into LN ')
|
: t('Swap into LN ')
|
||||||
: fav.mode === 'fiat'
|
: fav.mode === 'fiat'
|
||||||
? t('Sell BTC for ')
|
? t('Sell BTC for ')
|
||||||
: t('Swap out of LN ')}
|
: t('Swap out of LN ')}
|
||||||
{fav.mode === 'fiat'
|
{fav.mode === 'fiat'
|
||||||
? amountToString(maker.amount, makerHasAmountRange, maker.minAmount, maker.maxAmount)
|
? amountToString(maker.amount, makerHasAmountRange, maker.minAmount, maker.maxAmount)
|
||||||
: amountToString(
|
: amountToString(
|
||||||
@ -559,12 +559,12 @@ const MakerForm = ({
|
|||||||
{maker.isExplicit
|
{maker.isExplicit
|
||||||
? t(' of {{satoshis}} Satoshis', { satoshis: pn(maker.satoshis) })
|
? t(' of {{satoshis}} Satoshis', { satoshis: pn(maker.satoshis) })
|
||||||
: maker.premium === 0
|
: maker.premium === 0
|
||||||
? fav.mode === 'fiat'
|
? fav.mode === 'fiat'
|
||||||
? t(' at market price')
|
? t(' at market price')
|
||||||
: ''
|
: ''
|
||||||
: maker.premium > 0
|
: maker.premium > 0
|
||||||
? t(' at a {{premium}}% premium', { premium: maker.premium })
|
? t(' at a {{premium}}% premium', { premium: maker.premium })
|
||||||
: t(' at a {{discount}}% discount', { discount: -maker.premium })}
|
: t(' at a {{discount}}% discount', { discount: -maker.premium })}
|
||||||
</Typography>
|
</Typography>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
@ -785,10 +785,10 @@ const MakerForm = ({
|
|||||||
minAmount: pn(parseFloat(amountLimits[0].toPrecision(2))),
|
minAmount: pn(parseFloat(amountLimits[0].toPrecision(2))),
|
||||||
})
|
})
|
||||||
: maker.amount > amountLimits[1] && maker.amount !== ''
|
: maker.amount > amountLimits[1] && maker.amount !== ''
|
||||||
? t('Must be less than {{maxAmount}}', {
|
? t('Must be less than {{maxAmount}}', {
|
||||||
maxAmount: pn(parseFloat(amountLimits[1].toPrecision(2))),
|
maxAmount: pn(parseFloat(amountLimits[1].toPrecision(2))),
|
||||||
})
|
})
|
||||||
: null
|
: null
|
||||||
}
|
}
|
||||||
label={amountLabel.label}
|
label={amountLabel.label}
|
||||||
required={true}
|
required={true}
|
||||||
|
@ -28,8 +28,8 @@ class BaseSettings {
|
|||||||
modeCookie !== ''
|
modeCookie !== ''
|
||||||
? modeCookie
|
? modeCookie
|
||||||
: window?.matchMedia('(prefers-color-scheme: dark)')?.matches
|
: window?.matchMedia('(prefers-color-scheme: dark)')?.matches
|
||||||
? 'dark'
|
? 'dark'
|
||||||
: 'light';
|
: 'light';
|
||||||
|
|
||||||
this.lightQRs = systemClient.getItem('settings_light_qr') === 'true';
|
this.lightQRs = systemClient.getItem('settings_light_qr') === 'true';
|
||||||
|
|
||||||
@ -38,8 +38,8 @@ class BaseSettings {
|
|||||||
languageCookie !== ''
|
languageCookie !== ''
|
||||||
? languageCookie
|
? languageCookie
|
||||||
: i18n.resolvedLanguage == null
|
: i18n.resolvedLanguage == null
|
||||||
? 'en'
|
? 'en'
|
||||||
: i18n.resolvedLanguage.substring(0, 2);
|
: i18n.resolvedLanguage.substring(0, 2);
|
||||||
|
|
||||||
const networkCookie = systemClient.getItem('settings_network');
|
const networkCookie = systemClient.getItem('settings_network');
|
||||||
this.network = networkCookie !== '' ? networkCookie : 'mainnet';
|
this.network = networkCookie !== '' ? networkCookie : 'mainnet';
|
||||||
|
@ -49,8 +49,10 @@
|
|||||||
"color": "#000",
|
"color": "#000",
|
||||||
"contact": {
|
"contact": {
|
||||||
"email": "cosmos178ftmm4edlahqzj376gwgqzd9re5x0x9h0tfsc@keplr.xyz",
|
"email": "cosmos178ftmm4edlahqzj376gwgqzd9re5x0x9h0tfsc@keplr.xyz",
|
||||||
|
"telegram": "@venividivici_fr",
|
||||||
"simplex": "https://simplex.chat/contact/#/?v=1-4&smp=smp%3A%2F%2Fh--vW7ZSkXPeOUpfxlFGgauQmXNFOzGoizak7Ult7cw%3D%40smp15.simplex.im%2FTBkVW6au17zMxuwDvlhIpkMojh7PpZgN%23%2F%3Fv%3D1-2%26dh%3DMCowBQYDK2VuAyEA2iXIDN6Su6zYqKWcgsdd8BA7HhIHYIEWHE-MUyJhSw4%253D%26srv%3Doauu4bgijybyhczbnxtlggo6hiubahmeutaqineuyy23aojpih3dajad.onion",
|
"simplex": "https://simplex.chat/contact/#/?v=1-4&smp=smp%3A%2F%2Fh--vW7ZSkXPeOUpfxlFGgauQmXNFOzGoizak7Ult7cw%3D%40smp15.simplex.im%2FTBkVW6au17zMxuwDvlhIpkMojh7PpZgN%23%2F%3Fv%3D1-2%26dh%3DMCowBQYDK2VuAyEA2iXIDN6Su6zYqKWcgsdd8BA7HhIHYIEWHE-MUyJhSw4%253D%26srv%3Doauu4bgijybyhczbnxtlggo6hiubahmeutaqineuyy23aojpih3dajad.onion",
|
||||||
"matrix": "@venividivici13:matrix.org",
|
"matrix": "@venividivici13:matrix.org",
|
||||||
|
"nostr": "npub1wsqpvgpfwq6a4fs5whqxn7gtd9gqsll2p5qnfdu4ltr43s6wwxgsgk4xtl",
|
||||||
"pgp": "/static/federation/pgp/25791752E9661C1DE118A8C6F78CD3D6471B6789.asc",
|
"pgp": "/static/federation/pgp/25791752E9661C1DE118A8C6F78CD3D6471B6789.asc",
|
||||||
"fingerprint": "25791752E9661C1DE118A8C6F78CD3D6471B6789"
|
"fingerprint": "25791752E9661C1DE118A8C6F78CD3D6471B6789"
|
||||||
},
|
},
|
||||||
@ -70,12 +72,12 @@
|
|||||||
"Rule 2:": "Keep stacking Sats and Enjoy your journey in the Temple of Sats!"
|
"Rule 2:": "Keep stacking Sats and Enjoy your journey in the Temple of Sats!"
|
||||||
},
|
},
|
||||||
"mainnet": {
|
"mainnet": {
|
||||||
"onion": "http://_TEMPORARY_SILENCED_MAINNET_zixoneehmz7z2ctsnpuubcni4kxw5gp6fkyzjd2spo5atie5awiuwmyd.onion",
|
"onion": "http://_TEMPORARY_SILENCED_MAINNET_ngdk7ocdzmz5kzsysa3om6du7ycj2evxp2f2olfkyq37htx3gllwp2yd.onion",
|
||||||
"clearnet": "",
|
"clearnet": "",
|
||||||
"i2p": ""
|
"i2p": ""
|
||||||
},
|
},
|
||||||
"testnet": {
|
"testnet": {
|
||||||
"onion": "http://ngdk7ocdzmz5kzsysa3om6du7ycj2evxp2f2olfkyq37htx3gllwp2yd.onion",
|
"onion": "http://jpp3w5tpxtyg6lifonisdszpriiapszzem4wod2zsdweyfenlsxeoxid.onion",
|
||||||
"clearnet": "",
|
"clearnet": "",
|
||||||
"i2p": ""
|
"i2p": ""
|
||||||
},
|
},
|
||||||
|
@ -23,10 +23,10 @@ testnet_exp_socat="socat tcp4-LISTEN:${testnet_exp_port},reuseaddr,fork,keepaliv
|
|||||||
################################
|
################################
|
||||||
# Temple of Sats
|
# Temple of Sats
|
||||||
# Mainnet
|
# Mainnet
|
||||||
mainnet_temple_onion=zixoneehmz7z2ctsnpuubcni4kxw5gp6fkyzjd2spo5atie5awiuwmyd.onion
|
mainnet_temple_onion=ngdk7ocdzmz5kzsysa3om6du7ycj2evxp2f2olfkyq37htx3gllwp2yd.onion
|
||||||
mainnet_temple_port=102
|
mainnet_temple_port=102
|
||||||
# Testnet
|
# Testnet
|
||||||
testnet_temple_onion=ngdk7ocdzmz5kzsysa3om6du7ycj2evxp2f2olfkyq37htx3gllwp2yd.onion
|
testnet_temple_onion=jpp3w5tpxtyg6lifonisdszpriiapszzem4wod2zsdweyfenlsxeoxid.onion
|
||||||
testnet_temple_port=1002
|
testnet_temple_port=1002
|
||||||
# socat cmd
|
# socat cmd
|
||||||
mainnet_temple_socat="socat tcp4-LISTEN:${mainnet_temple_port},reuseaddr,fork,keepalive,bind=127.0.0.1 SOCKS4A:${TOR_PROXY_IP:-127.0.0.1}:${mainnet_temple_onion}:80,socksport=${TOR_PROXY_PORT:-9050}"
|
mainnet_temple_socat="socat tcp4-LISTEN:${mainnet_temple_port},reuseaddr,fork,keepalive,bind=127.0.0.1 SOCKS4A:${TOR_PROXY_IP:-127.0.0.1}:${mainnet_temple_onion}:80,socksport=${TOR_PROXY_PORT:-9050}"
|
||||||
|
Reference in New Issue
Block a user