How Sniper Bot Watcher feature on poocoin.app works? - bots

I have recently discovered Sniper Bot Watcher feature on poocoin.app website(https://poocoin.app/sniper-watcher).
Any chance someone can give me an explanation on how it works?
Thanks in advance

From what i see on that list, the bot watcher looks at "0x3ae4222d06dacba3618526359a25bee8aecdbd92" this contract, and looks at incoming transactions in that contract and somehow finds all the info there not sure how though and clearly it dosnt list all the transactions there.
Not sure how those bots work but I'm guessing they snipe through that contract and it's a known bot contract so poopcoin watches it.
EDIT: The watched contract is actually bogged finance contract, and you have to hold atleast 750 bog to use it. The contract is just orders people can make. And bog finacnce runs the bot and buys the orders that are in the contract.

Related

Online payment - trigger on event

Im looking for some advice in relation to a solution that allows a payment to be triggered on a specific event, automatically.
Step 1: User signs up to make a charity donation (provides banking information)
Step 2: On triggering a certain event, a $1 donation is automatically made to the charity from the user
Step 3: A receipt generated back to the user, and also to the charity.
Step 2 would need to trigger each time the event happens, so although it could be $1, the event might happen 3 times, and therefore 3 payments would be made.
I'm looking at something like Stripe as the payment gateway provider, just not sure if I'm looking for the right kind of solution, and whether there is something else Ive not come across already.
Alternatively I would look at collating all occurrences of the event, and send a monthly payment link (which appears to be much simpler approach).
Any help would be appreciated, as Im looking to automate donations for a particular charity in the UK.
Very grateful for any advice anyone is willing to share. Thanks everyone.
Focusing on your overall goal, I believe you could use this [1] flow from Stripe which allows you to collect payment method information from your users and charge them later (whenever you want) by calling the API.
The idea here would be that whenever your "event" is triggered, you code calls the API and charges the saved payment method.
I can't provide a more thorough/specific suggestion since "event" term here is quite vague. Is this "event" time driven (like a subscription) OR something else?
[1] https://stripe.com/docs/payments/save-and-reuse

how to create usdt wallet via api and receive transactions

I'm new to this area and don't understand anything yet. I need to create a USDT wallet and accept it into payments, but I need to confirm the payment based on recent transactions.
I can't find anything that can solve my problem in Google.
On the server side, I usually use node js, maybe there are some packages?
Currently, there are two most popular .js libraries for the matter you want to achieve - web3.js and Ethers.js.
I would recommend you to dig into one of those.
Shortly:
Connect to the Ethereum network https://web3js.readthedocs.io/en/v1.2.0/web3.html#web3-object
Create a contract entity (USDT) in order to interact with the wanted contract
https://web3js.readthedocs.io/en/v1.2.0/web3-eth-contract.html
For wallet creation
https://web3js.readthedocs.io/en/v1.2.0/web3-eth-accounts.html?highlight=wallet#wallet-create
In order to confirm the payments in erc-20 you would like to subscribe to the blockchain events (this will help you to catch wanted transactions):
https://web3js.readthedocs.io/en/v1.2.0/web3-eth-subscribe.html#

Kik bot show "Pending Approval" always

I am creating a Kik bot. It doesn’t seem to be technically difficult.
I have created a new Kikbot under a Kik account A .
User A can automatically subscribe to Kikbot,
but when another account B subscribes to Kikbot,
it shows that the number of subscribers exceeds limit.
I find some informations, and it seems that Kikbot need join to Bot Shop .
About half a month ago, I submitted Kikbot information to dev.kik.com,
but the reply always is Pending Approval from then on.
I am very confused now.
Is there any way, what is going on?
and what is the problem?
Let Kikbot be displayed on the Bot Shop as soon as possible?
I even sent three emails to Bots#kik.com ,
but No response.
Do I need tell my boss that I am going to quit this project now ?
Same for me, very fast to deny if bot does not answer to text for example, but none if the bot is ok...
Ups, check that comment:
https://stackoverflow.com/a/61868376/15436636

Discord bot read all messages received when offline

I'm creating a discord bot that I would host with my PC so only some hours per day and I'm searching something that allows the bot to read all dms that he received while offline or similar.
I had two ideas to do this.
The first and simpler
call an iphotetic function that collect all the messages that the bot received when it was offline
The second
save the date when the bot goes offline
when it goes back online take all the 'open' private chats (so the ones that contains at least one message)
parse all the messages received from when it went offline to when it came back online
Right now I couldn't find anything on how to do this, any ideas?
Discord seems to have some nice looking api docs that are 100% covered by the discord.py library. I'd dig around there for a bit and see if you can achieve what you are looking for with it. Something as simple as a text file would work to store persistent data, maybe a timestamp or the last message id before the user logged off.
Both your ideas seem decent to me, I'd say just try building them and see if you run into any road blocks. By the time you do you will have a better understanding of the capabilities and limitations of the api and will be able to create a better plan.

job queue in nodeJS

I am working on a personal project where I want to automate the TA assignment system. I want to use Node and MongoDB for this. Though I have some idea about MongoDB, I am new to NodeJS. The aim of the projest is to do something like this :
A school administrator submits the course for which he/she wants to hire a TA.
The database is already populated with eligible students(more than two). The fields assoc with each student is [Student ID, Seniorty(sophomore,junior,senior),Course Taken or not, grade,presentStatus(Avlbl/Hired)]
At any point of time, the school admin requests a TA for a course, he gets the most senior eligible student available in the db.
Once the student is assigned, his status is changed to Hired.
I was planning to implement this using a queue. (Storing all the available students in that course in a queue and assigning the TA-ship to the senior student available in the front of the queue). As soon as he/she is assigned a TA, they are removed from the queue and pushed back into the db with the PresentStatus as 'Hired'. The problem I am facing is, I am not able to understand how I should be implementing the functionalities of the queue using NodeJS. During my research about the approach, I found something related to monq and a blog as well where they have discussed implementing it with Kue(backed by Redis instead), however I am still not able to visualize how this idea should be implemented using queues in NodeJS. Any help would be appreciated.
RabbitMQ is an option you are looking for.
You have to create a message sender and message consumer. The consumer will have a corresponding queue. Once the queue is filled with a message, the consumer will grab it and do it's process. In your scenario, it checks the student's status and then change him/her as hired in your database. What your sender does is that it packages a student's information and put it in the consumer's queue. I can imagine what will be happening in your case: a student submits request on his/her side. The node.js api receive it and pack information. Then it sends it to your customer queue. Your customer will process it if it's free. If it's busy, the information will be waiting in the queue. I recommend you to use json for students' information when different components have to communicate.
Here is the official website of RabbitMQ: https://www.rabbitmq.com/getstarted.html
Hope it helps.

Resources