This file contains hidden or 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 {JsonMetadata, Metadata, Metaplex, TaskStatus} from "@metaplex-foundation/js"; | |
| import {Connection, PublicKey, ConfirmedSignatureInfo} from "@solana/web3.js"; | |
| import * as fs from "fs"; | |
| const RPC_URL = 'https://...'; | |
| const MASTER_EDITION_ADDRESS = '...FHaH'; | |
| const RESULT_OUTPUT_PATH = './hashlist.json'; | |
| (async () => { | |
| const connection = new Connection(RPC_URL); |
This file contains hidden or 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
| project/ | |
| ββ environments/ | |
| β ββ dev/ | |
| β β ββ buckets/ | |
| β β ββ networks/ | |
| β β ββ iam/ | |
| β β ββ servers/ | |
| β ββ prod/ | |
| β β ββ buckets/ | |
| β β ββ networks/ |
This file contains hidden or 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
| terraform { | |
| backend "gcs" { | |
| bucket = "tf-state" | |
| prefix = "project/buckets" | |
| } | |
| } |
This file contains hidden or 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
| project/ | |
| ββ buckets/ | |
| β ββ main.tf | |
| β ββ backend.tf | |
| β ββ providers.tf | |
| β ββ variables.tf | |
| β ββ terraform.tfvars | |
| ββ networks/ | |
| β ββ main.tf | |
| β ββ backend.tf |
This file contains hidden or 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
| terraform { | |
| backend "gcs" {} | |
| } |
This file contains hidden or 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
| project/ | |
| ββ main.tf | |
| ββ backend.tf | |
| ββ providers.tf | |
| ββ variables.tf | |
| ββ testing.tfvars | |
| ββ production.tfvars | |
| ββ development.tfvars |
This file contains hidden or 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
| bucket_name = "my-bucket" | |
| bucket_location = "asia" |
This file contains hidden or 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 "bucket_name" { | |
| type = string | |
| description = "Bucket Name (Required)" | |
| } | |
| variable "bucket_location" { | |
| type = string | |
| description = "Bucket Location (Default: US)" | |
| default = "US" | |
| } |
This file contains hidden or 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
| resource "google_storage_bucket" "bucket" { | |
| name = var.bucket_name | |
| location = var.bucket_location | |
| } |
This file contains hidden or 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
| project/ | |
| ββ main.tf | |
| ββ backend.tf | |
| ββ providers.tf | |
| ββ variables.tf | |
| ββ terraform.tfvars |