bitcoin event front end forms added

This commit is contained in:
HolgerHatGarKeineNode
2023-02-25 13:05:33 +01:00
parent 3f5881eff8
commit be7092c0a7
14 changed files with 533 additions and 42 deletions

View File

@@ -15,6 +15,15 @@ trait NostrTrait
{
public function publishOnNostr($model, $text): array
{
if (app()->environment('local')) {
return [
'success' => true,
'output' => 'local',
'exitCode' => 0,
'errorOutput' => ''
];
}
//noscl publish "Good morning!"
$result = Process::timeout(60 * 5)
->run('noscl publish "'.$text.'"');