Change token denom from photon to alnt #17
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@cerc-io/registry-sdk",
|
"name": "@cerc-io/registry-sdk",
|
||||||
"version": "0.2.4",
|
"version": "0.2.5",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
"repository": "git@github.com:cerc-io/registry-sdk.git",
|
"repository": "git@github.com:cerc-io/registry-sdk.git",
|
||||||
|
@ -1 +1 @@
|
|||||||
export const DENOM = 'photon';
|
export const DENOM = 'alnt';
|
||||||
|
@ -93,7 +93,7 @@ const namingTests = () => {
|
|||||||
const mnenonic1 = Account.generateMnemonic();
|
const mnenonic1 = Account.generateMnemonic();
|
||||||
const otherAccount1 = await Account.generateFromMnemonic(mnenonic1);
|
const otherAccount1 = await Account.generateFromMnemonic(mnenonic1);
|
||||||
await otherAccount1.init();
|
await otherAccount1.init();
|
||||||
await registry.sendCoins({ denom: DENOM, amount: '10000', destinationAddress: otherAccount1.address }, privateKey, fee);
|
await registry.sendCoins({ denom: DENOM, amount: '1000000000', destinationAddress: otherAccount1.address }, privateKey, fee);
|
||||||
|
|
||||||
const mnenonic2 = Account.generateMnemonic();
|
const mnenonic2 = Account.generateMnemonic();
|
||||||
const otherAccount2 = await Account.generateFromMnemonic(mnenonic2);
|
const otherAccount2 = await Account.generateFromMnemonic(mnenonic2);
|
||||||
|
@ -28,7 +28,7 @@ export const getConfig = () => {
|
|||||||
rpcEndpoint: process.env.LACONICD_RPC_ENDPOINT || 'http://localhost:26657',
|
rpcEndpoint: process.env.LACONICD_RPC_ENDPOINT || 'http://localhost:26657',
|
||||||
gqlEndpoint: process.env.LACONICD_GQL_ENDPOINT || 'http://localhost:9473/api',
|
gqlEndpoint: process.env.LACONICD_GQL_ENDPOINT || 'http://localhost:9473/api',
|
||||||
fee: {
|
fee: {
|
||||||
amount: [{ denom: 'photon', amount: '40' }],
|
amount: [{ denom: 'alnt', amount: '400000' }],
|
||||||
gas: '400000'
|
gas: '400000'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user