tsconfig.json
{
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"strict": true,
"esModuleInterop": true,
"noImplicitAny": true,
"moduleResolution": "node",
// This is a custom fetch function that uses axios to make requests and retries on errors or 502 status codes | |
// Run this file by executing `npx tsx axiosFetchWithRetries.ts` | |
import { Connection } from "@solana/web3.js"; | |
import axios from "axios"; | |
const RETRY_ATTEMPTS = 3; | |
export async function axiosFetchWithRetries( | |
input: string | URL | globalThis.Request, |
tsconfig.json
{
"compilerOptions": {
"target": "es6",
"module": "commonjs",
"strict": true,
"esModuleInterop": true,
"noImplicitAny": true,
"moduleResolution": "node",
programs/logger/src/lib.rs
use anchor_lang::prelude::*;
use borsh::{BorshDeserialize, BorshSerialize};
declare_id!("ENdMF5CR3qvWj2L6xZWofrYiYaQVV3dM94ghtbrvJ9QN");
#[program]
pub mod logger {
Session PPT: Google Slides
What is Flutter? -> flutter.dev
Flutter Roadmap -> GitHub
Signup on postman.com
cURL Commands
curl --location --request GET 'https://api.openweathermap.org/data/2.5/weather?q=mumbai&units=metric&appid=8cbce2bf9c96ba7df25eb3bdcd9c5e87'