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 * as fcl from "@onflow/fcl" | |
import { KeyManagementServiceClient } from "@google-cloud/kms" | |
import * as crypto from "crypto" | |
import { fromBER, Sequence, Integer } from "asn1js" | |
var crc32c = require("fast-crc32c") | |
///////////////////////////////////////////////////////////////////////////////////////////////// | |
// This gist shows a quick example of using a Google Cloud managed key to sign a Flow transaction | |
// This would be called in a pattern similar to the below: | |
// |