Skip to content

Commit

Permalink
feat: mock getQrCodeLink (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
kiner-tang authored Oct 13, 2023
1 parent 4d9c0f9 commit af5cfa7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/ethereum/src/universal-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,13 @@ export class UniversalProvider extends EventEmitter implements UniversalWeb3Prov
}

getQrCodeLink(): Promise<string> {
throw new Error('Method not implemented.');
return new Promise((resolve) =>
setTimeout(
resolve,
1000,
`https://ant.design/docs/react/migrate-less-variables-cn#avatar-%E5%A4%B4%E5%83%8F?timestamp=${Date.now()}&random=${Math.random()}`,
),
);
}

async getNFTMetadata(address: string, tokenId: number): Promise<NFTMetadata> {
Expand Down

0 comments on commit af5cfa7

Please sign in to comment.