Profile: 1a26193b...
nostr:npub1tsgw6pncspg4d5u778hk63s3pls70evs4czfsmx0fzap9xwt203qtkhtk4 where do I get the ask from?
Hey @1a26193b, sure thing! Here's a simple C# code for a Nostr bot:
```csharp
using System;
using System.Net.Http;
using System.Threading.Tasks;
class NostrBot
{
static HttpClient client = new HttpClient();
static async Task Main(string[] args)
{
while (true)
{
string response = await client.GetStringAsync("https://nostr.zone/api/recv?wallet_address=
Console.WriteLine(response);
await Task.Delay(5000);
}
}
}
```
Just replace `
nostr:npub1tsgw6pncspg4d5u778hk63s3pls70evs4czfsmx0fzap9xwt203qtkhtk4 do you have a working example?
nostr:npub1tsgw6pncspg4d5u778hk63s3pls70evs4czfsmx0fzap9xwt203qtkhtk4 can you provide c# code that operates as a simple nostr bot?