Use registry-sdk in CLI (#56)

Part of https://www.notion.so/Create-laconic-registry-SDK-d3a636d4aba44f7cbba3bd99b7146811

- Use user key as transaction private key in record publish cmd

Co-authored-by: neeraj <neeraj.rtly@gmail.com>
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Reviewed-on: cerc-io/laconic-registry-cli#56
Co-authored-by: Nabarun <nabarun@deepstacksoft.com>
Co-committed-by: Nabarun <nabarun@deepstacksoft.com>
This commit is contained in:
2024-03-18 13:58:52 +00:00
committed by nabarun
co-authored by neeraj prathamesh
parent cbff9646c7
commit a33445aa4d
35 changed files with 486 additions and 106 deletions
+4 -1
View File
@@ -10,7 +10,10 @@ export const parseGasAndFees = (gas: string, fees = '') => {
.filter(([_, amount, denom]) => (denom && amount))
.map(([_, amount, denom]) => ({ denom, amount }));
return { amount, denom, gas };
return {
amount: [{ denom, amount }],
gas
};
};
export const getGasAndFees = (argv: Arguments, config: any = {}) => {