Network
| Network | Status |
|---|---|
| Sui testnet | SUPPORTED · TESTNET |
| Sui localnet | For development only |
| Sui mainnet | NOT AVAILABLE |
| Hosted self-serve API | TESTNET · /healthz · /v1/config |
Unaudited demo. The testnet package below is an unaudited demo publish. Do not treat it as production software.
Immutable. The package was made immutable in its publish transaction and no UpgradeCap for it exists: its code cannot change. See On-chain reference.
Testnet objects#
| Object | ID |
|---|---|
| Chain | 69WiPg3DAQiwdxfncX6wYQ2siKwAe6L9BZthQea3JNMD |
Lending package (essey_sui) | 0x6786d695be37759278a0769b311fd9381b44baaea86f6a969619a7df8c9a61b4 |
| Market (SUI collateral, USDC loan) | 0x618b3e2946ff34462bf8af9ff2cafe444d7bb19b367e882ca67c9af59f1aad33 |
| Market (SUI collateral, USDSUI loan) | 0x441827e6df0b201c85c2df88a4c43d3729d55a93d6b9618e167ea5d3110fbca6 |
| Market (USDSUI collateral, SUI loan) | 0x71a134124c544d1e79bd619c3cfc27f0a1a3b2f9e7ea4a077a7c4638da9023f9 (pyth_oracle::read_inverse on the SUI/USD object below) |
| Lending pool (SUI/USDC) | 0xffdc7fa44be2368cafc94a7f6871088a94a0dcb90d14fbe476e586f765170667 |
| Treasury | 0xff580d999c8d811743bf1a6ca0fadff082ba1a1bdde44e77fcc6e8a1294b715f |
| Access (shared, PUBLIC) | 0xe5c5cf68662a21c42bab89b1b55b623f4bf05698703d88e8479ade15352e8b94 |
| PassKey | 0xbcebf7f4430c69ee3a53cc858db659509f125d260e8e647c4865de6295a2438d |
| Privacy package | 0xef63ef732c30b87589ed9435a8291e72fed00f7bdc72a028196c244333c2464c |
| Sale-room package | 0x48db0307be9b6aadbf9f29c28561e1b450348ab2786ea4853a8d7249c22979a1 |
| Shielded pool USDC | 0xe9fa57e6030e630302f63b45c2e7f19629b06fb99c72ee600c0f1351f1a1075c |
| Shielded pool USDsui | 0x304df63ce2bc69ecae878b366813a5d21a3d5be3f85704a688621bffb0bba11c |
| Shielded pool SUI | 0x96db81b0f3cc2c804bb26fb835eaa7e41f73070e2153ed3e70ea1645d1707436 |
Oracle package (essey_oracle_pyth, pyth_oracle::read) | 0x91301302664aa1d5627e186e4ea02ec5e86b3e7ec6ada10429ba8ba30fc74a48 |
Inverse oracle package (pyth_oracle::read_inverse, SUI loans) | 0x373a36f16e0309ea7cb9f02715a4b60ad77626ccfa177834c4dbe392078f186e |
| Pyth SUI/USD price object | 0x867877562b5d8ac262d93b02062e04b428a2f9bfbb2f05b8af52e04cd98bd241 |
Sale-room package, proved settlement (sale_room_v2) | 0xeeacf6d88596fedfdcd66cc6510c3c84e08d249bdb1d2b956f3c931a33feb714 |
| Sale-room Settle verifier | 0x6d27cc34ce3423a02222f18795c4141504b9c1f46ac4d02277449af723f3ffa7 |
Private loan room package, proved settlement (private_room_v2) | 0x5e2dbc14e6687bb550e2f69fcdd328c21b252fdcf9c9dddce0f8aa33f37e9050 |
| Private loan room Settle verifier | 0xd56ab7c8f077b660ca9c0655e1e57c2d39812ae40c82394311635243ba02a84c |
| Hosted relayer | /healthz |
| Hosted relayer address | 0x85ca932022b8ebced6b9697a0a4bda0505dd589624b81ddf3b2b0b41c35a5149 |
| Private-flow ids | GET /v1/private/config |
Debugging reads use GraphQL at https://graphql.testnet.sui.io/graphql. The public fullnode's JSON-RPC is deprecated. The SDK uses gRPC.
The lending package publishes ten modules: borrower, interest, loan, loan_room, market, offer, pool, price, private_room and treasury. The Pyth adapter is its own package, essey_oracle_pyth, with one module, pyth_oracle, built against Pyth's Sui contracts at a pinned revision.
Gas#
Transactions the hosted API builds for you are sponsored: the operator pays the gas for what you sign on the site and for your hosted agents' transactions, up to 200 per agent per day. The operator's address is returned as sponsor by GET /v1/config.
An agent you run yourself pays its own gas from SUI at its address, in one of two modes. In address-balance mode (gas: "address-balance", the SDK's EsseyAgent default; ESSEY_GAS=address-balance for the MCP server) the transaction names no gas coin and the node takes the gas from the address balance. The public Sui testnet faucet credits that balance, not a coin object, so faucet SUI pays in this mode as it is. In coins mode (gas: "coins"; the MCP server's default, ESSEY_GAS=coins) the SDK picks one SUI coin object at the address holding at least 50,000,000 MIST, one transaction's budget, and throws NO_COINS before signing when there is none. The faucet makes no such coin; the owner's fundGas(chain, agentAddress, mist) sends one. Wallet calls (executeAsWallet: a seller, a depositor) pick the mode themselves: a coin that covers the budget when the wallet holds one, else the address balance. The sponsored lane covers lending calls built by the API; it does not take sale-room calls.
Testnet SUI#
The programmatic route for testnet SUI is the Sui CLI:
sui client faucet --url https://faucet.testnet.sui.io --address <ADDRESS>On macOS install the CLI with brew install sui. Elsewhere install from source with Cargo, or install a release binary. The page those methods are on is https://docs.sui.io/guides/developer/getting-started/sui-install; its recommended installer is suiup install sui@testnet. Then run the command above. A person uses the browser faucet at https://faucet.sui.io. Essey does not host a SUI drip: POST /v1/faucet/sui returns SUI_FAUCET_EXTERNAL. Mysten's HTTP route POST https://faucet.testnet.sui.io/v2/gas returns compatibility_disabled. One grant is about 1 SUI into the address balance, which is what address-balance gas, shielded deposits and v2 collateral spend. On a rate limit, wait and retry that address, or use another address.