hua833
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    --- title: '如何創建 DSA v2 ( DeFi 智能帳戶 ) ?' tags: Tutorials --- 如何創建 DSA v2 ( DeFi 智能帳戶 ) ? === 目前 INST 共有 4 條鏈 ,分別是 **Mainnet ( ETH )、 Polygon 、 Aribitrium 、 Avalache**,用戶在這四條鏈中的 DSA ,都是獨立的地址,若是用戶想要在不同鏈上管理資產,則必須切換至不同網路,創建 DSA ,以下將說明如何創建 : ![](https://hackmd.io/_uploads/H1YG_vNrK.png) ### 在 Mainnet 上創建 DSA : --- - **從交易所將資產轉至主網** : 幾乎所有 ERC-20 代幣目前都支援使用 ERC-20 鏈 ,可以輕鬆將代幣從交易所提領至您的 MetaMask 錢包中。 - **將代幣從不同網路轉至 ETH 鏈** : 若是原本錢包在其他鏈就有代幣,則可以透過 **跨鏈橋**,這邊推薦使用 Celer Network 推出的跨鏈橋 <a href="https://cbridge.celer.network/#/transfer">**cBridge**</a>,將代幣轉移至 Mainnet 上。 1. 匯入代幣後,必須添加該代幣在 ETH 上的合約地址,便可以在錢包中看到代幣顯示。 2. 來到 **https://defi.instadapp.io/** 上,消耗 Gas Fee ( ETH ),便可以創建 DSA 。 ### 在 Polygon 上創建 DSA : --- - **原生代幣 ( MATIC )** : 部分交易所支援將 MATIC 透過 Polygon 網路直接發送至錢包。 - **從主網轉至 Polygon 鏈** : 使用 **<a href="https://wallet.polygon.technology/bridge">Polygon 原生跨鏈橋</a>** 轉移。 - **將代幣從不同網路轉至 Polygon 鏈** : 若是原本錢包在其他鏈就有代幣,則可以透過 **跨鏈橋**,這邊推薦使用 Celer Network 推出的跨鏈橋 <a href="https://cbridge.celer.network/#/transfer">**cBridge**</a>,將代幣轉移至 Polygon 上。 1. 在 MetaMask 錢包中添加 Polygon 網路 : - **網路名稱 :** Polygon - **新的 RPC URL :** https://polygon-rpc.com/ - **鏈 ID :** 137 - **Symbol :** MATIC - **區塊鏈瀏覽器 URL** : https://polygonscan.com/ 2. 匯入代幣後,必須添加該代幣在 Polygon 上的合約地址,便可以在錢包中看到代幣顯示。 3. 來到 **https://polygon.instadapp.io/** 上,消耗 Gas Fee ( 錢包中必須有 MATIC 作為手續費 ),便可以創建 DSA 。 ### 在 Arbitrum 上創建 DSA : --- - **從主網轉至 Arbitrum 鏈** : 使用 **<a href="https://bridge.arbitrum.io/">Arbitrum 原生跨鏈橋</a>** 轉移。 - **將代幣從不同網路轉至 Arbitrum 鏈** : 若是原本錢包在其他鏈就有資產,則可以透過 **跨鏈橋**,這邊推薦使用 Celer Network 推出的跨鏈橋 <a href="https://cbridge.celer.network/#/transfer">**cBridge**</a>,將資產轉移至 Arbitrum 上。 1. 在 MetaMask 錢包中添加 Arbitrum 網路 : - **網路名稱 :** Arbitrum One - **新的 RPC URL :** https://arb1.arbitrum.io/rpc - **鏈 ID :** 42161 - **Symbol :** AETH - **區塊鏈瀏覽器 URL** : https://arbiscan.io 2. 匯入代幣後,必須添加該代幣在 Arbitrum 上的合約地址,便可以在錢包中看到代幣顯示。 3. 來到 **https://arbitrum.instadapp.io/** 上,消耗 Gas Fee ( 錢包中必須有 ETH 作為手續費 ),便可以創建 DSA 。 ### 在 Avalache 上創建 DSA : --- - **原生代幣 ( AVAX )** : 部分交易所支援將 AVAX 透過 Avalache 網路 ( X-Chain、C-Chain )發送至錢包 : - 從交易所透過 X-Chain 發送至<a href="https://wallet.avax.network/"> 雪崩協議官方錢包</a>,再利用原生跨鏈功能將 X-Chain 資產轉移至 C-Chain 。 - 或是將 MetaMask 的私鑰導入至<a href="https://wallet.avax.network/"> 雪崩協議官方錢包</a>,直接從交易所透過 C-Chain 發送至 MetaMask。 ##### 詳細操作視頻參考 : https://www.youtube.com/watch?v=nVx_39biXlw - **從主網轉至 Avalache 鏈** : 使用 **<a href="https://bridge.avax.network/">Avalache 原生跨鏈橋</a>** 轉移,並且目前只要轉移一定數量的代幣,在您的錢包中,就會被空投 AVAX ,作為您在 Avalache 上的 Gas Fee (不知何時會結束空投 ) - **將代幣從不同網路轉至 Avalache 鏈** : 若是原本錢包在其他鏈就有資產,則可以透過 **跨鏈橋**,這邊推薦使用 Celer Network 推出的跨鏈橋 <a href="https://cbridge.celer.network/#/transfer">**cBridge**</a>,將資產轉移至 Avalache 上。 1. 在 MetaMask 錢包中添加 Avalache 網路 : - **網路名稱 :** Avalanche Mainnet - **新的 RPC URL :** https://api.avax.network/ext/bc/C/rpc - **鏈 ID :** 43114 - **Symbol :** AVAX - **區塊鏈瀏覽器 URL** : https://cchain.explorer.avax.network/ 2. 匯入代幣後,必須添加該代幣在 Avalache 上的合約地址,便可以在錢包中看到代幣顯示。 3. 來到 **https://avalanche.instadapp.io/** 上,消耗 Gas Fee ( 錢包中必須有 AVAX 作為手續費 ),便可以創建 DSA 。 ### 如何添加代幣合約地址 ? --- 1. 進入 <a href="https://coinmarketcap.com/">**CoinMarketCap**</a>。 2. 選擇代幣,點擊" **More** ",複製代幣合約地址。 ![](https://hackmd.io/_uploads/B1mf9t4rt.png) 3. 切換至欲添加網路後,在 MetaMask 上點擊 " **Import Tokens**"。 4. <img src="https://hackmd.io/_uploads/r1YTjYNrY.png" with="200" height="400"> 5. 填入代幣合約地址,點擊 " **Add Custom Token** ",成功添加代幣。 <img src="https://hackmd.io/_uploads/rJ7ejKNSK.png" with="200" height="400"> ### 以下示範創建 DSA 步驟 : --- 1. 連結錢包後,選擇網路,這邊以 Polygon 網路來示範創建一個 DSA v2,點擊"Create Account" ![](https://hackmd.io/_uploads/r1MFjojNF.png) 2. 在錢包內確認創建 ( 需要 Gas Fee ) 3. 成功創建後,會看到帳戶資訊 ( 也可以點擊上方 Account 查看 DSA v2 帳戶資訊 ) ![](https://hackmd.io/_uploads/r1Ag-noEK.png) #### 方框 1 : 您的 DSA v2 地址 ( 請注意這是個全新的地址,與您原先創建帳戶的地址不同 ! ) #### 方框 2 : 提供複製 DSA v2 地址 #### 方框 3 : DSA v2 擁有者 ( 原先創建 DSA 的地址 )

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully