Skip to content

Commit

Permalink
Add custom fee
Browse files Browse the repository at this point in the history
  • Loading branch information
DaevMithran committed Oct 22, 2024
1 parent 6c35267 commit e594203
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/identity/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ import {
DefaultStatusList2021StatusPurposeType,
TransactionResult,
} from '@cheqd/did-provider-cheqd';
import type { CheqdNetwork } from '@cheqd/sdk';
import { ResourceModule, type CheqdNetwork } from '@cheqd/sdk';
import { getDidKeyResolver as KeyDidResolver } from '@veramo/did-provider-key';
import { Resolver, ResolverRegistry } from 'did-resolver';
import { DefaultDidUrlPattern, CreateAgentRequest, VeramoAgent } from '../../types/shared.js';
Expand Down Expand Up @@ -306,7 +306,7 @@ export class Veramo {
network: network as CheqdNetwork,
signInputs: publicKeyHexs,
fee: {
amount: [],
amount: [ResourceModule.fees.DefaultCreateResourceJsonFee],
gas: '2000000',
},
} satisfies ICheqdCreateLinkedResourceArgs);
Expand Down

0 comments on commit e594203

Please sign in to comment.