mirror of
https://github.com/alexgo-io/brc20-indexer-contracts.git
synced 2026-04-30 19:02:21 +08:00
* feat: dev-stack & bootstrap Signed-off-by: bestmike007 <i@bestmike007.com> * chore: contract codegen Signed-off-by: bestmike007 <i@bestmike007.com> * chore: add depends_on Signed-off-by: bestmike007 <i@bestmike007.com> --------- Signed-off-by: bestmike007 <i@bestmike007.com>
15 lines
433 B
TypeScript
15 lines
433 B
TypeScript
import { generateContracts } from 'clarity-codegen/lib/generate';
|
|
import * as path from 'path';
|
|
import { DEPLOYER_ACCOUNT_ADDRESS, STACKS_API_URL } from '../constants';
|
|
import { Contracts } from './contractNames';
|
|
|
|
(async function main() {
|
|
await generateContracts(
|
|
STACKS_API_URL(),
|
|
DEPLOYER_ACCOUNT_ADDRESS(),
|
|
Contracts,
|
|
path.resolve(__dirname, './generated/'),
|
|
'Brc20Indexer',
|
|
);
|
|
})().catch(console.error);
|