LogoLogo
Safeheron.comTwitterLinkedIn
English
English
  • About Safeheron
  • 📲Product & Solution
    • Getting Started
    • Dive Into Safeheron
      • Teams
      • Creators
      • Admins
      • Members
      • Decision-Making
      • Approval Nodes
      • Approval Process
      • Basic Transaction Policy
      • Transfer Policy
      • MPC Sign Policy
      • Whitelists
      • Transactions
      • Key Shard and Backup
      • Safeheron API
      • API Co-Signer
      • Auto Sweep
    • Safeheron Solutions
      • Safeheron Auto-Sweep: High Efficiency on Time and Cost
      • Safeheron For Web3
    • Product Bulletin
      • Secure Access for Solana
      • Safeheron V1.3.0 Update
      • Secure Access for Conflux
      • Secure Access for Aptos
      • Secure Access To Native USD Coin (USDC) on Polygon Network
      • HT, HFIL (HRC-20), USDT (HRC-20), ETH (HRC-20), HUSD (HRC-20), HBTC (HRC-20) Delisting Announcement
      • Secure Access for Sui
      • Safeheron Browser Extension Upgraded
      • Secure Access for zkSync Era
      • How Safeheron Secures Users Private Keys
      • Secure Access for Optimism and Arbitrum
      • Safeheron Web Console Fully Upgraded
      • Safeheron Supports The Shapella Network Upgrade
      • Secure Access for Filecoin
      • Secure Access for NEAR
      • Introducing Safeheron Web3 Suite: The Powerful Institutional-Grade Web3 Infrastructure
      • Safeheron Supports the Upcoming Ethereum Merge
      • Secure Access to Wrapped Ether (Ethereum & Polygon)
      • Safeheron Android V1.0.2: Institutional-Grade Security For Android
      • Welcome to The New Safeheron
      • Secure Access For Fantom And Polygon
      • Safeheron API: MPC Signs Custom Data, Agile & Swift
      • Secure Access to USDT, Huobi Ethereum, Huobi USD and Huobi BTC (HRC-20)
      • Secure Access to Filecoin (HRC-20)
      • Secure Access to Tether USD & Binance USD (BEP-20)
      • Secure Access to JasmyCoin (JASMY)
      • Secure Access For BNB Smart Chain
      • Safeheron Exchange API: Higher Security in TEE
      • Secure Access to HurricaneSwap(HCT), Trader Joe(JOE), BENQI(QI) and Pangolin(PNG)
      • Secure Access For Avalanche
      • Safeheron Android V0.1.1: Manage Your Business on Android Devices
      • Safeheron API: A Win-win for Security and Efficiency
      • Safeheron V0.0.9: Multi-Workspace Management
    • Platform Updates
      • DeSyn Protocol and Safeheron Join Forces to Revolutionize DeFi
      • Safeheron Snap: A Multi-Factor Auth Wallet for Everyone
      • Safeheron in 2023
      • Safeheron Achieves SOC 2 Type II Certification, Data Security System Further Recognized
      • CertiK and Safeheron Join Forces to Improve Transparency in Private Key Management
      • HashQuark Builds Strategic Partnership with Safeheron to Advance MPC ETH Node Validation Service
      • Safeheron Attains SOC 2 Type I Certification, Adhering to the Highest Standards of Data Security
      • Safeheron Releases World’s First C++ Based MPC Protocol Library
      • Hashkey Capital and Bixin Ventures Co-Led Safeheron Pre-A+ Round
      • Safeheron Partners with Infura to Enhance Self-Custody Solutions
      • Safeheron Offline Recovery Tool Now Available as Open-Source Code
      • 2022 Annual Symposium on the Convergence of Trusted Computing and Blockchain Security
      • Safeheron Passes ISO 27001 Annual Audit, Maintaining Industry-Leading Security Standards
      • A Letter to Our Customers
      • everVision Incorporates Safeheron Web3 Product Suite Capabilities
      • NFTSTAR Integrates Safeheron’s Web3 Product Suite
      • Safeheron Developer Site Goes Live, Let’s BUIDL with Safeheron
      • Safeheron Teams up with GoPlus Security: Bolstering Growth for Web3 Security
      • Safeheron TEE-Based TSS-RSA Key Sharding Officially Open-Source, Empowering Arweave and More
      • Safeheron Partners with MetaMask on MPC Security Solution
      • Safeheron Announces US$7M Series Pre-A Raise
      • 47X Better Performance, Safeheron TSS-RSA Algorithm Officially Open-Source
      • Safeheron Provides MultiSig Wallet Solution for Arweave's First Cross-Chain DEX Permaswap
      • Safeheron Provides Security Services to Winners of the First Acala Dapp Hackathon
      • Breaking: Safeheron Joins World’s First MPC Alliance
      • 2021 Year In Review, Head To A Promising 2022
    • Blockchains & Currencies
    • History
    • Maintenance Log
      • Restoration Notice for NEAR Node Service
      • Temporary Maintenance Notice for NEAR Node Service
    • Help
      • Safeheron User & Privacy Agreement
      • What If I Forget Google Authentication?
      • Offline Private Key Recovery
  • 💡Insights
    • Safeheron Academy
      • Security Analysis of DKG Threshold Raising Vulnerability
      • Security Analysis of BitForge Vulnerability in GG18/GG20 Protocol
      • Large Integer Factorization Algorithm and Its Practice
      • Ledger is Proving the Perils of Sacrificing Security on the Altar of User Experience
      • As Web2 Giants Enter the Web3 Space, Security Will be Make-or-Break
      • The Future of Crypto Payments
      • Intel® SGX Data Sealing
      • MPC 101: Secure Multi-Party Computation And Multisignature
      • Demystify Remote Attestation: Explore the DCAP Certificate Chain
      • Bitcoin Taproot Upgrade: Changes to Transaction Privacy
      • Comparative Analysis of 5 Major Digital Asset Custody Solutions
      • Enhancing Security on MPC Wallet-dYdX Connections
      • A Deep Dive of HOW Profanity Caused Wintermute to Lose $160M
      • Analysis On Ed25519 Use Risks: Your Wallet Private Key Can Be Stolen
      • Post-mortem Analysis of 20 Million OP Tokens Stolen: Contract Multisig VS MPC
      • Safeheron Alert: Juno Unexpectedly Transferred $36 Million in Cryptocurrency to Wrong Wallet Address
      • Safeheron Alert: WEB3 Project FaceDAO Incurred Loss From Phishing
      • Safeheron Alert: UTXO MultiSig Could be Used for Fake Depositing Towards Blockbook, Troubleshooting
      • Safeheron Alert: Ronin 5 Validators Compromised, Governance Urgent For Decentralized Projects
      • Warning: GG18/20-Based Attack Towards MPC Threshold Signature
      • Safeheron Alert: BXH Incurred $130 Million Loss From Hacking
      • Secure Custody Dictionary
    • Industry Dispatch
      • Safeheron Fortnite Dispatch|Feb 12 '23
      • Safeheron Fortnite Dispatch|JAN 29 '23
      • Safeheron Fortnite Dispatch|JAN 15 '23
      • Safeheron Fortnite Dispatch|JAN 01 '23
      • Safeheron Fortnite Dispatch|DEC 18 '22
      • Safeheron Weekly Dispatch | AUG 26 '22
      • Safeheron Weekly Dispatch | AUG 19 '22
      • Safeheron Weekly Dispatch | AUG 12 '22
      • Safeheron Weekly Dispatch | AUG 05 '22
      • Safeheron Weekly Dispatch | JUL 29 '22
      • Safeheron Weekly Dispatch | JUL 22 '22
      • Safeheron Weekly Dispatch | JUL 15 '22
      • Safeheron Weekly Dispatch | JUL 08 '22
      • Safeheron Weekly Dispatch | JUL 01 '22
      • Safeheron Weekly Dispatch | JUN 24 '22
      • Safeheron Weekly Dispatch | JUN 17 '22
      • Safeheron Weekly Dispatch | JUN 10 '22
      • Safeheron Weekly Dispatch | JUN 03 '22
      • Safeheron Weekly Dispatch | MAY 27 '22
  • 📞Contact Us
    • Safeheron Support
    • Safeheron Business
    • Safeheron Lab
    • Follow Safeheron
    • Feedback & Suggestions
    • Compliance & Regulations
Powered by GitBook
On this page
  • Preparations
  • 1. Integrate with Safeheron API
  • 2. Configure API Co-Signer
  • Log into the Web Console to Configure Auto-Sweep Policies
  • 2. Configure Auto-Sweep Policy Following Steps on the Webpage
  • 3. Submit for Approval After Configuration
  • 4. Team Admin Approves in the Safeheron App
  • Key Takeaways
  • 1. Delete and Modify Auto-Sweep Policies
  • 2. Configuration Items

Was this helpful?

  1. Product & Solution
  2. Dive Into Safeheron

Auto Sweep

Tutorial on using the Auto Sweep; All essentials to help you get started quickly

PreviousAPI Co-SignerNextSafeheron Solutions

Last updated 1 year ago

Was this helpful?

Preparations

1. Integrate with Safeheron API

Create wallets through the API, and label the wallets intended for auto-sweep policy as "Deposit Wallet" during wallet creation.

If you wish to label or untag existing wallets, you can also use API to operate.

2. Configure API Co-Signer

To configure auto-sweep policies, the API Co-Signer must first be configured for the API Key for automated approvals and MPC Sign.

For how to integrate API and configure API Co-Signer, please refer to the API documentations and developer site:

API Documentations:

Developer Site:

Log into the Web Console to Configure Auto-Sweep Policies

1. Access and Permissions

Use the Safeheron App to scan and log into the Safeheron Web Console (), where the auto-sweep can be found in the “Application” on the left toolbar.

Please note that only the team admins and members with Manage Transaction Policy permission can access the auto-sweep.

2. Configure Auto-Sweep Policy Following Steps on the Webpage

As shown below, select the blockchain network first, and then complete the configurations for the target wallet address, triggering condition, sweeping frequency, network fee cap, transaction approvers and signers, etc.

For blockchain networks supporting tokens, you can also configure the reserved gas, and decide whether to enable the Gas Station. If the Gas Station is enabled, configure the gas station wallet and the amount of gas to be refueled each time.

3. Submit for Approval After Configuration

After configuration, submit directly for approval. Or you can save all drafts, then visit the policy list to submit them for approval collectively.

4. Team Admin Approves in the Safeheron App

Once approved, the policy takes effect. Team admins need to review and approve the request using the App upgraded to the latest version (V1.2.7 and above).

Key Takeaways

1. Delete and Modify Auto-Sweep Policies

You can initiate to delete or modify auto-sweep policies in the policy list of “Auto Sweep” -> “Application” and the request will take effect once approved by team admins.

For deleting or modifying policies, please ensure there are no sweeping tasks pending. We suggest that you suspend the depositing service for relevant networks in advance if plan to delete or modify auto-sweep policies. Once sweeping is completed, you can proceed with deletion or modification.

2. Configuration Items

Item
Definition
Tips

Blockchain Network

The blockchain network needs the auto-sweep policy. Every blockchain network can only set up one auto-sweep policy.

None

Target Address

The target wallet for sweeping, where assets will be swept to. You can choose asset wallets or whitelists.

Configure it based on your platform's business model. Generally, assets are swept to the hot wallet used for the withdrawal service of the platform.

Triggering Condition

The condition that triggers the sweeping. It requires a minimum value.

Given different gas cases on different blockchains, for blockchains with lower gas fees, set a lower triggering threshold (e.g. 10 USD). For networks with higher gas fees, vice versa.

Sweeping Frequency

The frequency of detecting the deposit wallet to see if all deposits meet the triggering condition.

The frequency should be configured based on the block time of the blockchain and specific business needs.

Network Fee Cap

The maximum fee designated for a transaction. If the gas required for on-chain transactions exceeds this cap, it might cause delays in sweeping and gas refueling.

Given the fluctuation of gas over time, you can set an appropriate cap. Transaction may take a longer time if gas is too low, while unnecessarily high gas costs may occur if it’s too high.

Reserved Gas

For blockchains that support tokens and where the native cryptocurrency is used for gas, you can designate an amount of the mainnet coin not to be swept. This ensures that when tokens are received, there's enough native cryptocurrencies (gas) to process them without needing additional transfers, hence saving costs.

It's recommended to reserve enough gas for 2-3 sweeps (i.e. 2-3 times the network fee cap). If reserving gas is unnecessary, it can be set to 0. This setting doesn't apply to blockchains that don't support tokens.

Gas Station

When the wallet has insufficient gas, the Gas Station will fund it.

Only applicable if the blockchain supports tokens.

Gas Station Wallet

The wallet that is used to refuel the gas in the wallet to be swept.

Please ensure there's enough balance of the required coins (used for gas) in this wallet. We suggest monitoring the Gas Station wallet for timely funding.

Gas Fueling Per Time

The amount of gas to be refueled into the sweeping wallet per time.

Please ensure you set the amount to be 2-3 times the network fee cap which can support 2-3 sweeping, effectively lowering costs without frequently refueling gas.

Transaction Approver and Signer

Choose the API Key which has its corresponding API Co-Signer to automate the transaction approval and MPC Sign.

Multiple API Co-Signers can guarantee the stability of auto-sweeping.

If you have any suggestions or other questions, please feel free to provide your valuable feedback to Safeheron Support.

📲
https://docs.safeheron.com/api/en.html
https://developer.safeheron.com/
https://www.safeheron.com/console/