This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "done" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { createUmi } from '@metaplex-foundation/umi-bundle-defaults'; | |
import { generateSigner, percentAmount, keypairIdentity } from '@metaplex-foundation/umi'; | |
import { mplTokenMetadata } from '@metaplex-foundation/mpl-token-metadata'; | |
import { clusterApiUrl, Connection, LAMPORTS_PER_SOL, PublicKey} from '@solana/web3.js'; | |
import { nftStorageUploader } from '@metaplex-foundation/umi-uploader-nft-storage' | |
import { createNft } from '@metaplex-foundation/mpl-token-metadata' | |
import bs58 from 'bs58' | |
const NFT_STORAGE_API = "GET A KEY AT NFT.STORAGE" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#location to the holders file, one per line | |
input="/home/0xbanana/holders.txt" | |
#example metadata, use your own | |
metadatauri="https://bafkreiflfy44ytewrhyzxyly3y42s6j5rhcbw63ha4bvpcrm34fh7fpv3a.ipfs.dweb.link/" | |
#funded solana wallet | |
wallet="/home/0xbanana/wallet.json" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Metaplex as Metaplex } from "@metaplex-foundation/js-next"; | |
import { Connection, clusterApiUrl, PublicKey } from "@solana/web3.js"; | |
const connection = new Connection(clusterApiUrl("mainnet-beta")); | |
const metaplex = new Metaplex(connection); | |
let mint = new PublicKey("D2ZJKaWvS3FnvdxgNKcvbnRWgouuBsChEaJTtQ6dgmNH"); | |
let nft = await metaplex.nfts().findNft({ mint }); | |
console.log(nft); | |
/* | |
Output: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://storage.googleapis.com/0xbanana/hr/frakt_airdrop/0.mp4 | |
https://storage.googleapis.com/0xbanana/hr/frakt_airdrop/1.mp4 | |
https://storage.googleapis.com/0xbanana/hr/frakt_airdrop/2.mp4 | |
https://storage.googleapis.com/0xbanana/hr/frakt_airdrop/3.mp4 | |
https://storage.googleapis.com/0xbanana/hr/frakt_airdrop/4.mp4 | |
https://storage.googleapis.com/0xbanana/hr/frakt_airdrop/5.mp4 | |
https://storage.googleapis.com/0xbanana/hr/frakt_airdrop/6.mp4 | |
https://storage.googleapis.com/0xbanana/hr/frakt_airdrop/7.mp4 | |
https://storage.googleapis.com/0xbanana/hr/frakt_airdrop/8.mp4 | |
https://storage.googleapis.com/0xbanana/hr/frakt_airdrop/9.mp4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Gmail loading animation Fall 2020</title> | |
<meta name="description" content="This is the HTML and CSS for Google's Gmail loading icon, Fall 2020."> | |
<style> | |
body { | |
margin: 0; | |
width: 100%; | |
height: 100% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
variable "project_name" { | |
type = string | |
} | |
variable "sensor_machine_type" { | |
type = string | |
} | |
variable "sensor_startup_script" { | |
type = string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
provider "google" { | |
version = "~> 2.0, >= 2.5.1" | |
alias = "tokengen" | |
} | |
data "google_client_config" "default" { | |
provider = "google.tokengen" | |
} | |
data "google_service_account_access_token" "sa" { | |
provider = "google.tokengen" | |
target_service_account = "[email protected]" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### VARIABLE DECLARATIONS | |
variable "project_name" { | |
type = string | |
} | |
variable "region_name" { | |
type = string | |
} | |
variable "zone_name" { | |
type = string | |
} |
NewerOlder