Skip to content

Commit

Permalink
chore/ remove file (#490)
Browse files Browse the repository at this point in the history
* feat: Register pub key

* feat: Replace zk crypto with ed25519

* chore: Remove file

* chore: Remove console

* chore: Changeset file

* feat: Remove Client wasm url param

* chore: Update Example

* chore: Remove file
  • Loading branch information
rrr523 authored Mar 11, 2024
1 parent d45791a commit 47a3c3e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions examples/browser-file-management/src/client/index.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import { GREEN_CHAIN_ID, GRPC_URL } from '@/config/env';
import { Client } from '@bnb-chain/greenfield-js-sdk';

export const client = Client.create(GRPC_URL, String(GREEN_CHAIN_ID), {
zkCryptoUrl: 'https://unpkg.com/@bnb-chain/[email protected]/dist/node/zk-crypto.wasm',
});
export const client = Client.create(GRPC_URL, String(GREEN_CHAIN_ID));

export const getSps = async () => {
const sps = await client.sp.getStorageProviders();
Expand Down
1 change: 0 additions & 1 deletion packages/js-sdk/src/offchainauth/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export * from '../clients/spclient/sign';
export * from './utils';

0 comments on commit 47a3c3e

Please sign in to comment.