Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
bonkman22 committed Oct 17, 2024
1 parent 7faa92c commit 1599633
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hop.ag/sdk",
"version": "4.0.0",
"version": "4.0.1",
"description": "Official Hop SDK to access Hop Aggregator",
"type": "module",
"main": "dist/cjs/index.js",
Expand Down
5 changes: 5 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,13 @@ import { getFullnodeUrl } from "@mysten/sui/client";
const rpc_url = getFullNodeUrl("mainnet");
const hop_api_options: HopApiOptions = {
api_key: "",

// 1bps = 0.01%. 10_000bps = 100%.
fee_bps: 0,
fee_wallet: "YOUR_SUI_ADDRESS_HERE",

// option to charge fees in sui when possible
// instead of only the output token
charge_fees_in_sui: true,
};

Expand Down

0 comments on commit 1599633

Please sign in to comment.