docs icon indicating copy to clipboard operation
docs copied to clipboard

[Add docs] Chain agnostic docs

Open friedger opened this issue 2 years ago • 0 comments


title: Chain Agnostic Definitions description: Using chain agnostic standards for Stacks assets and protocols

Chain Agnostic References

Stacks Token (CAIP-20)

The native Stacks token on mainnet is referenced as stacks:1/slip44:5757

Stacks Accounts (CAIP-10)

Accounts are references by their STX address, for example for mainnet as stacks:1/SP2J6ZY48GV1EZ5V2V5RB9MP66SW86PYKKNRV9EJ7

SIP9 and SIP10 tokens (CAIP-19)

Similarily, tokens are referenced using their smart contract: stacks:1/sip10:SP3DX3H4FEYZJZ586MFBS25ZW3HZDMEW92260R2PR.Wrapped-Bitcoin or stacks:1/sip9:SP3D6PV2ACBPEKYJTCMH7HEN02KP87QSP8KTEH335.megapont-space-agency/4

Authentication

Sign-in with Stacks (CAIP-122)

The signature type is defined as stacks:secp256k1

Wallet Connect v2

The following methods are defined: stacks_contractCall, stacks_stxTransfer, stacks_signMessage, and stacks_contractDeploy. Xverse mobile wallet has implemented support for Wallet Connect v2

friedger avatar May 22 '23 07:05 friedger