COPY-READY STARTERS

Starter Templates

These are copy-ready payloads and zero-code testing patterns for users who want to participate immediately. Pick a template, encrypt sensitive fields if needed, submit it through the Oracle contract, and read the callback.

Zero-Code Mainnet Test

You can test Morpheus on Neo N3 mainnet without deploying your own contract first.

Oracle contract: 0x017520f068fd602082fe5572596185e62a4ad991

Universal callback consumer: 0x89b05cac00804648c666b47ecb1c57bc185821b7

Call request(requestType, payload, callbackContract, callbackMethod) with callback target 0x89b05cac00804648c666b47ecb1c57bc185821b7, callback method onOracleResult, and attach exactly 0.01 GAS.

1. Privacy Oracle Templates

Built-in Provider Oracle

Fastest path for a public quote callback through the Oracle contract.

jsonBuilt-in Provider Oracle
{
  "provider": "twelvedata",
  "symbol": "NEO-USD",
  "json_path": "price",
  "target_chain": "neo_n3"
}

Private API With Encrypted Token

Best for premium APIs or project-specific endpoints that require auth.

jsonPrivate API With Encrypted Token
{
  "url": "https://api.example.com/private-price",
  "method": "GET",
  "encrypted_token": "<sealed bearer token>",
  "token_header": "Authorization",
  "json_path": "price",
  "target_chain": "neo_n3"
}

Built-in Provider + Encrypted Payload Patch

Hide fields such as json_path, project-specific params, or helper settings.

jsonBuilt-in Provider + Encrypted Payload Patch
{
  "provider": "twelvedata",
  "symbol": "BTC-USD",
  "encrypted_payload": "<sealed {\"json_path\":\"price\",\"target_chain\":\"neo_n3\"}>"
}

Custom URL + JS Reduction

Fetch public data and return only a scalar or boolean to the contract.

jsonCustom URL + JS Reduction
{
  "url": "https://postman-echo.com/get?probe=morpheus",
  "json_path": "args.probe",
  "script": "function process(data) { return data === 'morpheus'; }",
  "entry_point": "process",
  "target_chain": "neo_n3"
}

2. Privacy Compute Templates

privacy.mask

Mask personally identifiable strings before returning them.

jsonprivacy.mask
{
  "mode": "builtin",
  "function": "privacy.mask",
  "input": { "value": "13812345678", "unmasked_left": 3, "unmasked_right": 4 },
  "target_chain": "neo_n3"
}

math.modexp

Big integer modular arithmetic for cryptography-heavy workloads.

jsonmath.modexp
{
  "mode": "builtin",
  "function": "math.modexp",
  "input": { "base": "123456789", "exponent": "987654321", "modulus": "2147483647" },
  "target_chain": "neo_n3"
}

zkp.public_signal_hash

Compress large public signal arrays into one digest.

jsonzkp.public_signal_hash
{
  "mode": "builtin",
  "function": "zkp.public_signal_hash",
  "input": { "circuit_id": "credit_v1", "signals": ["1", "2", "3"] },
  "target_chain": "neo_n3"
}

Encrypted Built-in Compute

Hide both the function name and its input until the job reaches the TEE.

jsonEncrypted Built-in Compute
{
  "encrypted_payload": "<sealed {\"mode\":\"builtin\",\"function\":\"math.modexp\",\"input\":{\"base\":\"2\",\"exponent\":\"10\",\"modulus\":\"17\"},\"target_chain\":\"neo_n3\"}>"
}

3. Best Next Steps

Previous Use CasesNextStarter Studio
REVISION 1.0.2LAST UPDATED: 2026-03-11