mirror of
https://github.com/zhigang1992/liquid-stacking.git
synced 2026-04-28 20:15:45 +08:00
Merge branch 'main' into ci
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
|
||||
// SPDX-License-Identifier: BUSL-1.1
|
||||
|
||||
import {
|
||||
MultiSigSpendingCondition,
|
||||
StacksMessageType,
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
|
||||
// SPDX-License-Identifier: BUSL-1.1
|
||||
|
||||
import {
|
||||
deserializeTransaction,
|
||||
getNonce,
|
||||
|
||||
@@ -1,4 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# SPDX-License-Identifier: BUSL-1.1
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
|
||||
// SPDX-License-Identifier: BUSL-1.1
|
||||
|
||||
import fs from "fs";
|
||||
import { hexToBytes } from '@stacks/common';
|
||||
import { AddressHashMode, TransactionVersion, addressFromHashMode, createStacksPrivateKey, publicKeyFromBytes } from "@stacks/transactions";
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
|
||||
// SPDX-License-Identifier: BUSL-1.1
|
||||
|
||||
import {
|
||||
makeUnsignedContractDeploy,
|
||||
StacksPublicKey,
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
|
||||
// SPDX-License-Identifier: BUSL-1.1
|
||||
|
||||
import { makeRandomPrivKey } from "@stacks/transactions";
|
||||
import { bytesToHex } from '@stacks/common';
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
|
||||
// SPDX-License-Identifier: BUSL-1.1
|
||||
|
||||
import { AddressHashMode, AddressVersion, addressFromPublicKeys, addressToString, compressPublicKey, pubKeyfromPrivKey } from "@stacks/transactions";
|
||||
import { getNetwork, getStacksPubkeys, loadConfig } from "./config.ts";
|
||||
import { bytesToHex } from '@stacks/common';
|
||||
|
||||
7
scripts/prepare_tests.sh
Executable file
7
scripts/prepare_tests.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# SPDX-License-Identifier: BUSL-1.1
|
||||
|
||||
|
||||
find . -type f -name "*.clar" -exec \
|
||||
sed -i '' -e 's/SP000000000000000000002Q6VF78/ST000000000000000000002AMW42H/g' {} \;
|
||||
7
scripts/revert_prepare_tests.sh
Executable file
7
scripts/revert_prepare_tests.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# SPDX-License-Identifier: BUSL-1.1
|
||||
|
||||
|
||||
find . -type f -name "*.clar" -exec \
|
||||
sed -i 's/ST000000000000000000002AMW42H/SP000000000000000000002Q6VF78/g' {} \;
|
||||
@@ -1,3 +1,6 @@
|
||||
|
||||
// SPDX-License-Identifier: BUSL-1.1
|
||||
|
||||
import {
|
||||
TransactionSigner,
|
||||
compressPublicKey,
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
|
||||
// SPDX-License-Identifier: BUSL-1.1
|
||||
|
||||
import { Address, SpendingCondition, StacksPublicKey } from "@stacks/transactions";
|
||||
import fs from "fs";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user