“Just use swig” - Vitalik Buterin (probably one day)
EvmAddress
authority type that uses the hashed form of the public key (the standard Ethereum address).
\x19Ethereum Signed Message:\n{length}
prefix manuallygetCreateSwigInstruction()
, getSignInstructions()
, and fetchSwig()
from SVM contextcreateSecp256k1AuthorityInfo
findRolesBySecp256k1SignerAddress()
to locate roles by Ethereum addressEvmAddress
authority type will allow using the standard Ethereum address format (the hashed form of the public key) instead of the current compressed public key format. This will make integration even more straightforward and familiar to Ethereum developers.
examples/classic/transfer/transfer-svm-viem.ts
- Viem integration with SVMexamples/classic/transfer/transfer-svm-secp-session.ts
- Session-based authorizationexamples/classic/transfer/transfer-svm-secp.ts
- Basic secp256k1 usageexamples/kit/transfer/transfer-local-viem.ts
- Viem integration with Kit on localnetexamples/classic/transfer/transfer-local-secp.ts
- Local testing example