accountactivation

command module
v0.0.0-...-57c21f4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

README

Account Activation

Activate accounts on the Stellar network by paying for it from Ethereum.

Ethereum

Contract address: 0xE04a9665bbA9B7954572802A9864dD1d03326792

The accountactivation smart contract has an ActivateAccount method which takes a network (currently only stellar) and an account parameter.

The cost to activate an account needs to be added to the call. This cost can be requested with the networkCost method.

beneficiary

When the activateAccount method is called, the cost is sent to the beneficiary address set in the contract.

This way the contract itself does not pile up eth which then has to be withdrawn by the owner ( which can be a multisig contract) or an allowed withdrawer, making the process easier and saving gas for the operating the service.

Stellar

Transactions

Account activation transactions have a hash memo containing the Ethereum transaction id.

Activation account

Stellar account that does the activation of accounts with 2 XLM as a starting balance.

Should the secret of this account leak, it can be replaced if the accountactivation smart contract is redeployed so previous activations are not redone on accounts that are merged already.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
eth

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL