mirror of
https://github.com/alexgo-io/alex-sdk.git
synced 2026-04-29 18:26:02 +08:00
chore: bump clarity-codegen to latest version
This commit is contained in:
@@ -1,26 +1,26 @@
|
||||
import { generateContracts } from "clarity-codegen/lib/generate"
|
||||
import * as path from "path"
|
||||
const { generateContracts } = require('clarity-codegen/lib/generate');
|
||||
const path = require('path');
|
||||
|
||||
const API_HOST = "https://stacks-node-api.alexlab.co"
|
||||
const CONTRACT_DEPLOYER = "SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9"
|
||||
const API_HOST = 'https://stacks-node-api.alexlab.co';
|
||||
const CONTRACT_DEPLOYER = 'SP3K8BC0PPEVCV7NZ6QSRWPQ2JE9E5B6N3PA0KBR9';
|
||||
|
||||
const contracts = [
|
||||
"swap-helper-v1-02",
|
||||
"swap-helper-v1-03",
|
||||
"amm-swap-pool",
|
||||
"amm-swap-pool-v1-1",
|
||||
"token-amm-swap-pool",
|
||||
'swap-helper-v1-02',
|
||||
'swap-helper-v1-03',
|
||||
'amm-swap-pool',
|
||||
'amm-swap-pool-v1-1',
|
||||
'token-amm-swap-pool',
|
||||
|
||||
"swap-helper-bridged-v1-1",
|
||||
]
|
||||
'swap-helper-bridged-v1-1',
|
||||
];
|
||||
|
||||
;(async function main() {
|
||||
(async function main() {
|
||||
await generateContracts(
|
||||
API_HOST,
|
||||
CONTRACT_DEPLOYER,
|
||||
contracts,
|
||||
path.resolve(__dirname, "../src/generated/smartContract/"),
|
||||
"Alex",
|
||||
"../smartContractHelpers/codegenImport",
|
||||
)
|
||||
})().catch(console.error)
|
||||
path.resolve(__dirname, '../src/generated/smartContract/'),
|
||||
'Alex',
|
||||
'../smartContractHelpers/codegenImport'
|
||||
);
|
||||
})().catch(console.error);
|
||||
|
||||
Reference in New Issue
Block a user