Skip to content

Instantly share code, notes, and snippets.

View PFC-developer's full-sized avatar

PFC PFC-developer

View GitHub Profile

Keybase proof

I hereby claim:

  • I am pfc-developer on github.
  • I am pfc_validator (https://keybase.io/pfc_validator) on keybase.
  • I have a public key ASAU00R9r4z3RrFj3YifNao5X0mljJeTMb9IRZyPvRkLtAo

To claim this, I am signing this object:

pfc_validator

Keybase proof

I hereby claim:

  • I am pfc-developer on github.
  • I am pfc_validator (https://keybase.io/pfc_validator) on keybase.
  • I have a public key ASAU00R9r4z3RrFj3YifNao5X0mljJeTMb9IRZyPvRkLtAo

To claim this, I am signing this object:

@PFC-developer
PFC-developer / querySnip721.ts
Created December 5, 2021 00:12
getOwnedTokens
async function getOwnedTokens(
client: SigningCosmWasmClient,
account: Account
): Promise<string[]> {
const PLAYER_CONTRACT = process.env.REACT_APP_PLAYER_NFT as string;
return client.getChainId().then((chainId) => {
return gen_signature(client, chainId, account).then((signatures) => {
return tokens_for_owner_private(

Keybase proof

I hereby claim:

  • I am pfc-developer on github.
  • I am petesfanclub (https://keybase.io/petesfanclub) on keybase.
  • I have a public key ASBXyJzQFXwDf7hTszg63IxyLebPT5O3tpkUeglbTwBibwo

To claim this, I am signing this object: