Coding with Mohit
رفتن به کانال در Telegram
701
مشترکین
اطلاعاتی وجود ندارد24 ساعت
+37 روز
+730 روز
آرشیو پست ها
😭 Jisne ye badua lagayi hai mere pe agar mil jaye chhodunga nahi.... Jab koi cheez shuru karo tab kuchh na kuchh ho jaata hai mere saath....
🙂 Am I being useless not doing vibe coding? Am I being useless writing every line of code manually? Am I being useless not shipping things fast enough using AI?
😭 Damn! Abhi to User Routes ka 40-50% hi kaam hua hai aur utne me hi itna lines... and ye v1 hai, aage updates me aut kitna hoga...
❤️🔥 No need to submit any type of Hash by user, it fetches the payment automatically on the interval of time, but yes you need to implement your own logic to restrict duplicate processing in your code, this is just an example code.
🔥 You can create an automatic payment system using this API, no hash just paid!
Repost from Coding with Mohit APIs
👉 Example code of Crypto Payment Checker API for TelebotHost
💫 Command:
/verify (as your wish)
🔥 Code:
const address = "receiver's address"; // accroding to the token
const amount = 1; // received amount
const token = "USDT_BEP20"; // received token, supported tokens: https://crypto-payment-api.vercel.app/
const minutes = 5; // interval of time to check, max: 30
const response = await HTTP.get(`https://crypto-payment-api.vercel.app/verify-payment?address=${address}&amount=${amount}&token=${token}&minutes=${minutes}`);
const responseData = JSON.parse(response.content);
if (!responseData.success) return Bot.sendMessage(`Something went wrong: ${responseData.message}`);
if (!responseData.verified) return Bot.sendMessage(`Couldn't find any transaction related to the amount in the interval of time`);
const { txHash, from, to, amount_received, token, timestamp } = responseData;
Bot.sendMessage(`
Transaction Hash: ${txHash}
Received from: ${from}
Sent to: ${to}
Amount: ${amount_received}
Token: ${token}
Date & Time: ${timestamp}
`);
⚠️ Note: It's just an example code, modify according to your needs.
❤️ API created by: Coding with Mohit APIs
© Credits: Coding with Mohit APIs
🤝 Share & Support Us 🤝Repost from Coding with Mohit APIs
👉 Example code of Crypto Payment Checker API for TelebotHost
💫 Command:
/verify (as your wish)
🔥 Code:
const address = "receiver's address"; // accroding to the token
const amount = 1; // received amount
const token = "USDT-BEP20"; // received token, supported tokens: https://crypto-payment-api.vercel.app/
const minutes = 5; // interval of time to check, max: 30
const response = await HTTP.get(`https://crypto-payment-api.vercel.app/verify-payment?address=${address}&amount=${amount}&token=${token}&minutes=${minutes}`);
const responseData = JSON.parse(response.content);
if (!responseData.success) return Bot.sendMessage(`Something went wrong: ${responseData.message}`);
if (!responseData.verified) return Bot.sendMessage(`Couldn't find any transaction related to the amount in the interval of time`);
const { txHash, from, to, amount_received, token, timestamp } = responseData;
Bot.sendMessage(`
Transaction Hash: ${txHash}
Received from: ${from}
Sent to: ${to}
Amount: ${amount_received}
Token: ${token}
Date & Time: ${timestamp}
`);
⚠️ Note: It's just an example code, modify according to your needs.
❤️ API created by: Coding with Mohit APIs
© Credits: Coding with Mohit APIs
🤝 Share & Support Us 🤝🙂 Ek major auto-payment security issue tha, but kam users ki wajah se kisi ko pata na chala....
🥲 Crypto payment me main hash store hi nahi kar raha tha, user multiple time same amount ke products fixed interval of time me ek hi payment se buy kar sakta tha...
Repost from Coding with Mohit Bots
🛠️ CWM Store Bot is currently under Maintenance.
🔜 It'll be back soon.
~ Mohit (CWM)
🥹 Comment Picker Bot is here!
Pick up to 10 winners from your Telegram post comments in seconds.
➡️ Up to 10 winners
➡️ Filter duplicate users
➡️ Filter by keyword or hashtag
➡️ Filter by message type
➡️ Share winner list with a public link
👤 Try now: @Comment_Pickerbot
😁 Ek aur chhota sa question:
1.
const original = {
name: "Mohit"
};
const copy = { ...original };
copy.name = "CWM";
console.log(original.name);
2.
const original = {
name: "Mohit",
channels: {
telegram: "@codingwithmohit05"
}
};
const copy = { ...original };
original.channel.telegram = "@codingwithmohitbots";
console.log(original.channels.telegram);
❓ What will be the output for both questions? Also state the reason.
👇 Comment your answer (then isse related next question):🙂 Just last ye exam, then I'll try to be back on regular uploads and contents. Till then ideas for contents drop below 👇
❤️🔥 Sharing you the notes of one more interesting subject, Computer Application in Business. It's a great subject to have a basic knowledge for computers.
🔥 You can read if you're interested in Fundamentals of Computers, Data Handling, Word Processing, PowerPoint Presentation and Multimedia, and Spreadsheets and Business Applications.
🔗 https://claude.ai/public/artifacts/3b9bb55d-a3cd-4d4d-8ceb-b62af93cc116
❤️🔥 Sharing you the notes of one more interesting subject, Computer Application in Business.
