Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ This SDK provides a simple interface for interacting with the Hedera Hashgraph u
No installation needed. Reference the script directly in your HTML:

```html
<script data-src="hcs://1/0.0.7473819" data-script-id="wallet-connect"></script>
<script data-src="hcs://1/0.0.8084872" data-script-id="wallet-connect"></script>
```

### For NPM projects (ESM)
Expand Down
2 changes: 1 addition & 1 deletion current-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.8084872
0.0.9196067
153 changes: 145 additions & 8 deletions dist/es/hashinal-wc.es.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/es/hashinal-wc.es.js.map

Large diffs are not rendered by default.

12 changes: 11 additions & 1 deletion dist/es/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,19 @@ declare class HashinalsWalletConnectSDK {
accountId: string;
network: LedgerId;
};
createTopic(memo?: string, adminKey?: string, submitKey?: string): Promise<string>;
generatePrivateAndPublicKey(): Promise<{
privateKey: string;
publicKey: string;
}>;
updateTopic(topicId: string, memo: string, adminKey: string): Promise<string>;
createTopic(memo?: string, adminKey?: string, customFees?: {
denominatingTokenId: string;
amount: string;
collectorAccountId: string;
}[]): Promise<string>;
createToken(name: string, symbol: string, initialSupply: number, decimals: number, treasuryAccountId: string, adminKey: string, supplyKey: string): Promise<string>;
mintNFT(tokenId: string, metadata: string, supplyKey: PrivateKey): Promise<TransactionReceipt>;
getTopicInfo(topicId: string, network?: string): Promise<any>;
getMessages(topicId: string, lastTimestamp?: number, disableTimestampFilter?: boolean, network?: string): Promise<FetchMessagesResult>;
signMessage(message: string): Promise<{
userSignature: any;
Expand Down
12 changes: 11 additions & 1 deletion dist/es/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,17 @@ export type HashinalsWalletConnectSDK = {
executeSmartContract: (contractId: string, functionName: string, parameters: ContractFunctionParameters, gas?: number) => Promise<TransactionReceipt>;
getAccountBalance: () => Promise<string>;
getAccountInfo: () => string;
createTopic: (memo?: string, adminKey?: string, submitKey?: string) => Promise<string>;
createTopic: (memo?: string, adminKey?: string, customFees?: {
denominatingTokenId: string;
amount: string;
collectorAccountId: string;
}[]) => Promise<string>;
generatePrivateAndPublicKey: () => Promise<{
privateKey: string;
publicKey: string;
}>;
getTopicInfo: (topicId: string) => Promise<any>;
updateTopic: (topicId: string, memo: string, adminKey: string) => Promise<string>;
createToken: (name: string, symbol: string, initialSupply: number, decimals: number, treasuryAccountId: string, adminKey: string, supplyKey: string) => Promise<string>;
mintNFT: (tokenId: string, metadata: string, supplyKey: PrivateKey) => Promise<TransactionReceipt>;
dAppConnector?: DAppConnector;
Expand Down
85 changes: 0 additions & 85 deletions dist/index.d.ts

This file was deleted.

14 changes: 0 additions & 14 deletions dist/logger/logger.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/sign/index.d.ts

This file was deleted.

Loading