You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue doesn't have a more in-depth spec, it just suggests a feature.
By declaring HTML as follows, the button which is the default slot element is displayed. Clicking that button will bring up a modal dialog with tier slots as child elements and start the staking flow.
<dev-stake-onconnection="CONNECTION_ID" destination="0x..." network="NETWORK_NAME"><sectionslot="tier" amount="100">This is the 1st tier</section><sectionslot="tier" amount="200">This is the 2nd tier</section><sectionslot="tier" amount="300">This is the 3rd tier</section><button>Please stake on me</button></dev-stake-on>
Detailed description
This issue doesn't have a more in-depth spec, it just suggests a feature.
By declaring HTML as follows, the button which is the default slot element is displayed. Clicking that button will bring up a modal dialog with tier slots as child elements and start the staking flow.
Options
connection: the id of dev-connection element [FEATURE] <dev-connection> #126destination: the address of the staking destinationnetwork: the network nameContext
You can easily build such paywalls by using this combined with
<dev-when-staked>#118 .Possible implementation
No response
Additional information
No response
Code of Conduct