Skip to content

Commit

Permalink
Testing (#32)
Browse files Browse the repository at this point in the history
* appky patch

* change url for testing

* update url

* setup action

* setup actions for testing

* simulate new plugin

* update details test

* add to existing package test

* non-config changes test
  • Loading branch information
mmackz authored Mar 3, 2024
1 parent 2460507 commit dd3ec05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
2 changes: 2 additions & 0 deletions packages/firsttest/src/FirstTest.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ describe('Given the firsttest plugin', () => {
})
})
})

// changes
19 changes: 0 additions & 19 deletions packages/firsttest/src/FirstTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,7 @@ import {
} from '@rabbitholegg/questdk'
import { type Address } from 'viem'

/*
* Function templates for handling various blockchain action types.
* It's adaptable for actions defined in ActionParams: Bridge, Swap, Stake, Mint, Delegate, Quest, Etc.
* Duplicate and customize for each specific action type.
* If you wish to use a different action other than swap, import one of the ActionParams types
* from @rabbitholegg/questdk (ie: SwapActionParams) and change the function below to use
* the action params you wish to use.
*/

export const mint = async(_params: MintActionParams): Promise<TransactionFilter> => {

// the ActionParams for this function are populated in the Boost Manager when the actual Boost is launched.

// In this function you should load the ABI, and translate any ActionParams into the input object defined below
// which should match the parameter names in the transaction

// You can also use the boostdk filter system to support operators on parameters, for example, greater than


// We always want to return a compressed JSON object which we'll transform into a TransactionFilter
return compressJson({
chainId: '0x0',
to: '0x0', // The to field is the address of the contract we're interacting with
Expand Down

0 comments on commit dd3ec05

Please sign in to comment.