Skip to content

Instantly share code, notes, and snippets.

@Robinnnnn
Robinnnnn / generateGalleryRedirectUrl.ts
Last active October 4, 2023 04:05
Generate gallery share URL
type Params = {
/**
* Required Fields
*/
chain: 'Ethereum' | 'Tezos' | 'Arbitrum' | 'Optimism' | 'Polygon' | 'Base' | 'Zora' | 'POAP';
contractAddress: string;
tokenId: number;
// platform identifier
referrer: string;

Keybase proof

I hereby claim:

  • I am robinnnnn on github.
  • I am rokim8 (https://keybase.io/rokim8) on keybase.
  • I have a public key ASDXZ-c4YgOJBnV20xWn1NHvtKGlWg-vG_WuepBYaIwOlgo

To claim this, I am signing this object: