Skip to content

1inch/fusion-resolver-example

Repository files navigation

Fusion Resolver example

In this repo you'll find an example of Resolver contract and some useful tests that show you how to execute orders with FusionSDK

Important Notice: This code is provided as an example only and is not audited for security.
Deploying this code without an independent security review may lead to financial loss.
1inch takes no responsibility for any damages, hacks, or security vulnerabilities arising from its use.

All tests are working on mainnet fork with real Settlement and 1inchRouterV6 contracts

Installation

yarn

Run Tests

NODE_URL=https://pass-eth-node-url-here.com yarn test

If you want to run test which uses 1inch API, you should provide dev token as ONE_INCH_API_KEY param. It can be retrieved at https://portal.1inch.dev/dashboard

Examples

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5