mirror of
https://github.com/stxer/stxer-sdk.git
synced 2026-01-12 22:31:05 +08:00
chore: bump version
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "stxer",
|
"name": "stxer",
|
||||||
"version": "0.2.0",
|
"version": "0.2.1",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": "Kyle Fang",
|
"author": "Kyle Fang",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
|
|||||||
@@ -18,6 +18,11 @@ import {
|
|||||||
} from '@stacks/transactions';
|
} from '@stacks/transactions';
|
||||||
import { c32addressDecode } from 'c32check';
|
import { c32addressDecode } from 'c32check';
|
||||||
|
|
||||||
|
function runTx(tx: StacksTransactionWire) {
|
||||||
|
// type 0: run transaction
|
||||||
|
return tupleCV({ type: uintCV(0), data: bufferCV(tx.serializeBytes()) });
|
||||||
|
}
|
||||||
|
|
||||||
export interface SimulationEval {
|
export interface SimulationEval {
|
||||||
contract_id: string;
|
contract_id: string;
|
||||||
code: string;
|
code: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user