Allows deploying modules to Aptos under resource accounts.

Overview

Aptos Deployer

Module containing helpers for deploying resource accounts.

Resource accounts allow the module to sign as itself on-chain, which is useful for actions such as Coin initialization.

Usage

Tooling to make this module easier to use is a work in progress. For now, one can perform the following steps:

  1. Create a new public/private keypair via aptos key generate.
  2. Call Deployer::create_resource_account_with_auth_key with the generated public key.
  3. Upload your module via aptos move publish.
  4. Call Deployer::acquire_signer_capability from an initialization function in your module. You will need to provide the private key as a signer.
  5. Call Deployer::freeze_account to deactivate the private key.

Installation

To use Deployer in your code, add the following to the [addresses] section of your Move.toml:

[addresses]
Deployer = "0xcf43589ea2a37ecab7c39657db15939e23e93972bc0481b51c4797c1f2d78a75"

License

Apache-2.0

You might also like...
A CLI application which allows you to archive Urbit channels and all linked content in them.
A CLI application which allows you to archive Urbit channels and all linked content in them.

The Urbit Content Archiver is a small CLI application that exports channels from your Urbit ship and auto-downloads any directly linked content locall

Metaplex is a protocol built on top of Solana that allows: Creating/Minting non-fungible tokens;
Metaplex is a protocol built on top of Solana that allows: Creating/Minting non-fungible tokens;

Metaplex is a protocol built on top of Solana that allows: Creating/Minting non-fungible tokens; Starting a variety of auctions for primary/secondary

Bitcoin Push Notification Service (BPNS) allows you to receive notifications of Bitcoin transactions of your non-custodial wallets on a provider of your choice, all while respecting your privacy

Bitcoin Push Notification Service (BPNS) Description Bitcoin Push Notification Service (BPNS) allows you to receive notifications of Bitcoin transacti

A mdbook preprocessor that allows the re-usability of template files with dynamic arguments

mdbook-template A mdbook preprocessor that allows the re-usability of template files with dynamic arguments Table of Contents Author Notes Installatio

MevWallet is a smart contract wallet that allows the user to capture MEV from Searchers, or create MEV on purpose.

MevWallet MevWallet is a smart contract wallet that allows the user to capture MEV from Searchers, or create MEV on purpose. This repo contains the so

Trait that allows comparing a value to a range of values.

range_cmp Docs This Rust crate provides the RangeComparable trait on all types that implement Ord. This traits exposes a rcmp associated method that a

Aptos-core strives towards being the safest and most scalable layer one blockchain solution.
Aptos-core strives towards being the safest and most scalable layer one blockchain solution.

Aptos-core strives towards being the safest and most scalable layer one blockchain solution. Today, this powers the Aptos Devnet, tomorrow Mainnet in order to create universal and fair access to decentralized assets for billions of people.

CLI tool to generate aptos keys.

aptos-keygrind CLI tool to generate aptos keys. Credit to https://github.com/solana-labs/solana/tree/master/keygen for some code I took. Installation

Warp is a blazingly fast, Rust-based terminal that makes you and your team more productive at running, debugging, and deploying code and infrastructure.
Warp is a blazingly fast, Rust-based terminal that makes you and your team more productive at running, debugging, and deploying code and infrastructure.

Warp is a blazingly fast, Rust-based terminal that makes you and your team more productive at running, debugging, and deploying code and infrastructure.

⬆ A program for deploying and upgrading programs.

DeployDAO Migrator WARNING: This code is a work in progress. Please do not use it as is. A program for deploying and upgrading programs. About The Mig

GitLab Deploy is used for deploying software projects to multiple hosts during different phases.

GitLab Deploy is used for deploying software projects to multiple hosts during different phases. This program should be run on Linux.

Hot reload static web server for deploying mutiple static web site with version control.

SPA-SERVER It is to provide a static web http server with cache and hot reload. 中文 README Feature Built with Hyper and Warp, fast and small! SSL with

Nitrogen - a tool for deploying web services to AWS Nitro Enclaves

Nitrogen CLI Nitrogen is a tool for deploying web services to AWS Nitro Enclaves. Given a dockerfile and an ssh key, Nitrogen will spin up an EC2, con

A framework for publishing, deploying, invoking, and upgrading soroban smart contracts

SmartDeploy A framework for publishing, deploying, and upgrading Soroban smart contracts. Uses Loam-SDK Publishing Currently smart contracts are insta

Kubernetes operator for declaratively deploying wasmCloud applications (via wadm) and hosts on Kubernetes.

wasmcloud-operator An operator for managing a set of wasmCloud hosts running on Kubernetes and manage wasmCloud applications using wadm. The goal is t

Tool for audit and reclaim of delegated SPL Token accounts

Usage Install prerequisites System development libraries sudo apt install libssl-dev libudev-dev pkg-config gcc Rust curl --proto '=https' --tlsv1.2

An easily deployable service to monitor mission-critical SPL token accounts
An easily deployable service to monitor mission-critical SPL token accounts

Vault watcher Monitoring critical spl-token accounts in real time Table of contents Introduction Usage Configuration Configuration examples Grafana In

hello-world geyser plugin to stream accounts and transactions from a solana node

src/lib.rs: entrypoint src/plugin.rs: main plugin code to run: cargo build && solana-test-validator -r --geyser-plugin-config config.json note: make s

Rust API to manage user accounts 🦦

Autha Autha, pronounced Otter 🦦 , is the service that manages user accounts and the associated delegation. ☄️ Autha is an OAuth2 server designed with

Comments
  • Bump cachix/cachix-action from 10 to 11

    Bump cachix/cachix-action from 10 to 11

    Bumps cachix/cachix-action from 10 to 11.

    Release notes

    Sourced from cachix/cachix-action's releases.

    cachix-action-v11

    • Allow pushFilter regex to start with a dash
    • Add pathsToPush and cachixArgs
    • Avoid pushing .drv.chroot files
    • Self-hosted runner support improvements
    Commits
    • 75d46f5 Merge pull request #123 from cachix/install-globally
    • b65c184 Allow installing cachix globally for self-hosted runners
    • b5a076c Merge pull request #122 from jfroche/feat/update-node
    • 9f3d463 feat: support node.js 16
    • f5f67ba avoid pushing .drv.chroot files
    • bfb6415 Merge pull request #115 from cachix/dependabot/github_actions/cachix/install-...
    • e90ca86 chore(deps): bump cachix/install-nix-action from 16 to 17
    • f1ca312 Merge pull request #110 from cachix/dependabot/github_actions/actions/checkout-3
    • 257f7af Merge pull request #112 from league/fix-typo
    • 06107da Merge pull request #113 from cachix/dependabot/npm_and_yarn/minimist-1.2.6
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump cachix/cachix-action from 10 to 12

    Bump cachix/cachix-action from 10 to 12

    Bumps cachix/cachix-action from 10 to 12.

    Release notes

    Sourced from cachix/cachix-action's releases.

    cachix-action-v12

    Fix save-state deprecation warning.

    cachix-action-v11

    • Allow pushFilter regex to start with a dash
    • Add pathsToPush and cachixArgs
    • Avoid pushing .drv.chroot files
    • Self-hosted runner support improvements
    Commits
    • 6a9a34c Merge pull request #126 from sigprof/save-state-deprecated
    • 3fea4e0 Use core.saveState instead of raw 'save-state' command
    • d035f0e Merge pull request #124 from cachix/test-install-action-v18
    • 6f2a21d bump install-nix-action
    • 75d46f5 Merge pull request #123 from cachix/install-globally
    • b65c184 Allow installing cachix globally for self-hosted runners
    • b5a076c Merge pull request #122 from jfroche/feat/update-node
    • 9f3d463 feat: support node.js 16
    • f5f67ba avoid pushing .drv.chroot files
    • bfb6415 Merge pull request #115 from cachix/dependabot/github_actions/cachix/install-...
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • Bump cachix/install-nix-action from 17 to 18

    Bump cachix/install-nix-action from 17 to 18

    Bumps cachix/install-nix-action from 17 to 18.

    Release notes

    Sourced from cachix/install-nix-action's releases.

    install-nix-action-v18

    • Fix nodejs warnings & simplify maintenance
    • Use python3 when determining number of cores
    • Collapse installer log messages
    Commits
    • daddc62 Merge pull request #144 from cachix/fix-ci
    • 8500bf7 try to fix act test
    • 4024cf0 Merge pull request #143 from ggreif/patch-1
    • 3d1155e readme: don't perpetuate old versions
    • e17a164 fix #140: python -> python3
    • 92d3622 Merge pull request #139 from sigprof/collapse-log-output
    • 6c5ba55 install-nix.sh: Collapse log messages
    • 451e611 Merge pull request #134 from lovesegfault/composite-action
    • 112054f refactor: replace with a simpler composite action
    • 24e801e Merge pull request #123 from cachix/dependabot/github_actions/actions/setup-go-3
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • any document for metadata_serialized and code?

    any document for metadata_serialized and code?

    hi, i see your PR https://github.com/aptos-labs/aptos-core/pull/3522, and really appreicate your work. the aptos team breaking change stuck my dapp :( so i need your new deployer. how to use your repo from cli? can you give a tutorial or an example?

    metadata_serialized: vector<u8>,
    code: vector<vector<u8>>,
    
    opened by xiaozzz 1
Owner
Deploy DAO
Helping developers deploy code safely and easily.
Deploy DAO
⬆ A program for deploying and upgrading programs.

DeployDAO Migrator WARNING: This code is a work in progress. Please do not use it as is. A program for deploying and upgrading programs. About The Mig

Deploy DAO 28 May 28, 2022
A framework for publishing, deploying, invoking, and upgrading soroban smart contracts

SmartDeploy A framework for publishing, deploying, and upgrading Soroban smart contracts. Uses Loam-SDK Publishing Currently smart contracts are insta

null 4 May 10, 2023
An easily deployable service to monitor mission-critical SPL token accounts

Vault watcher Monitoring critical spl-token accounts in real time Table of contents Introduction Usage Configuration Configuration examples Grafana In

null 21 Nov 29, 2022
hello-world geyser plugin to stream accounts and transactions from a solana node

src/lib.rs: entrypoint src/plugin.rs: main plugin code to run: cargo build && solana-test-validator -r --geyser-plugin-config config.json note: make s

null 4 Nov 18, 2022
Anchor Design of contract - Accounts, Parameters

MarketplaceDesign Anchor Design of contract - Accounts, Parameters Main Instructions are Initialize ListForSale AcceptOffer CancelList MakeOffer Cance

James Johnson 8 Sep 1, 2022
CLI tool for deterministically building and verifying executable against on-chain programs or buffer accounts

Solana Verify CLI A command line tool to build and verify solana programs. Users can ensure that the hash of the on-chain program matches the hash of

Ellipsis Labs 5 Jan 30, 2023
Library and CLI tool for generating Radix Babylon Accounts.

Wallet Compatible Derivation This repo is a package containing two crates - a library named wallet_compatible_derivation and binary named wallet_compa

Radix DLT 3 Feb 28, 2024
Tool written in Rust to perform Password Spraying attacks against Azure/Office 365 accounts

AzurePasswordSprayer Tool written in Rust to perform Password Spraying attacks against Azure/Office 365 accounts. It is multi threaded and makes no co

Pierre 7 Feb 27, 2024
IBC modules and relayer - Formal specifications and Rust implementation

ibc-rs Rust implementation of the Inter-Blockchain Communication (IBC) protocol. This project comprises primarily four crates: The ibc crate defines t

Informal Systems 296 Dec 31, 2022
A list of open sourced MultiversX SC modules.

Buidly X-Modules About xModules are an open-source library created by builders for builders with the scope of making smart contracts building a bit mo

null 4 Jan 15, 2023