@using System.Text.RegularExpressions
@model StoreViewModel
@{
Layout = "../Shared/_NavLayout.cshtml";
ViewData.SetActivePageAndTitle(StoreNavPages.Index, Model.StoreName);
}
A store requires a wallet to receive on-chain payments. Optionally, you can have a store that only receives Lightning payments, see the next section for more details.
@scheme.Value
@if (scheme.Value.Length > 20)
{
var match = Regex.Match(scheme.Value, @"((?:-\[(?:[^\]])+\])+|\S{6})$");
@match.Value;
}
@if (scheme.WalletSupported)
{
|
Wallet
}
}
@if (scheme.Enabled)
{
Enabled
}
else
{
Disabled
}
|
@(scheme.Enabled ? "Modify" : "Setup")
A connection to a Lightning node is required if you want to receive Lightning payments.
@scheme.Address
}
@if (scheme.Enabled)
{
Enabled
}
else
{
Disabled
}
|
@(scheme.Enabled ? "Modify" : "Setup")
Provider | Enabled | Actions |
---|---|---|
@scheme.Provider | @if (scheme.Enabled) { } else { } | @(scheme.Enabled ? "Modify" : "Setup") |
Service | Actions |
---|---|
Setup |