---
# System prepended metadata

title: rgb asset transfer 过程

---


transfer 过程

## create a asset address

前端调用 SDK.new_wallet

**需要开发** social account 与 wallet 关联

相关function: SDK.hash_password, SDK.new_mnemonic, SDK.new_wallet, SDK.encrypt_wallet, SDK.decrypt_wallet

## send a uxto to the asset address

**需要开发** bitcoin wallet 发起 bitcoin transaction, 

相关function: SDK.fund_vault, SDK.send_sats,SDK.get_assets_vault


## issue contract 过程

1. rgb asset address 已有uxto
2. 前端调用SDK.issue_contract function

**需要开发** public on asset registry service

## transfer rgb20 过程

参与方 S(sender), R(receiver)

1. S 已 issue contract
2. R SDK.import_contract
3. R SDK.create_invoice
4. S SDK.full_transfer_asset
5. S SDK.psbt_sign_and_publish_file
6. R SDK.accept_transfer
7. R SDK.save_transfer
8. S SDK.verify_transfers
9. R SDK.verify_transfers


## operation log


相关function: SDK.get_wallet_data
