@defifofum/safe-tx-builder
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

Safe Tx Builder

Use this package to create batch transactions on https://app.safe.global/

Example Usage

The output of this can be imported into Safe's TX builder

import { miniApeV2Builders } from "@defifofum/safe-tx-builder"
import { MINI_APE_ADDRESS } from "./constants"

const txBuilder = miniApeV2Builders.generateTxs_MiniApe_Set(
    MINI_APE_ADDRESS,
    [
        {
            pid: '0',
            allocPoint: '0',
        }
    ]
)

console.log(JSON.stringify(txBuilder));

Readme

Keywords

none

Package Sidebar

Install

npm i @defifofum/safe-tx-builder

Weekly Downloads

1

Version

0.0.2

License

GPL-3.0

Unpacked Size

16.3 kB

Total Files

20

Last publish

Collaborators

  • defifofum