Services Dexanode
  • Mapping Networks
    • Mapping Networks
  • Mainnet
    • Planq Network
      • Installation
      • Upgrade
      • Snapshot
      • Statesync
      • CLI Cheat Sheet
    • Lambda Network
      • Installation
    • Ununifi
      • Installation
      • Manual Installation
    • Lambda Network
  • Testnet
    • CreditCoin (Polkadot)
    • BEVM Incentiviced Testnet Full Node
      • Binaries
      • Docker
    • Dymension Froopyland
      • Create Pull Request
      • Deploy NFT & Smart Contract
    • Noria
      • Installation
      • Manual Installation
      • Upgrade
      • Snapshot
      • Statesync
      • CLI Cheat Sheet
    • Artela
      • Installation
      • Manual Installation
      • Upgrade
      • Snapshot
      • Statesync
      • CLI Cheat Sheet
    • Empower
      • Installation
      • Manual Installation
      • Upgrade
      • Snapshot
      • Statesync
      • CLI Cheat Sheet
    • Cross Finance
      • Installation
      • Upgrade
      • Snapshot
      • Statesync
      • Tool and Services
    • Eclipse Testnet
      • Eclipse Testnet Bridge Quest
    • Polymer
      • Polymer With Docker
      • Polymer Challenge 4
      • Polymer Challenge 4 Gitpod
    • Risc Zero Contributed Phase 1
  • Page 2
  • Tooling Service
    • Create Custom Endpoint Cosmos
    • Create custom endpoint Initia Node
    • Create Snapshoot
  • Page
Powered by GitBook
On this page
  1. Testnet
  2. Polymer

Polymer With Docker

PreviousPolymerNextPolymer Challenge 4

Last updated 1 year ago

Use template

git clone repomu
cd repomu
cp .env.example .env 
nano .env

save this code on template with name dockerfile

ENV DEBIAN_FRONTEND=noninteractive

WORKDIR /var/www

# Install needed packages.
RUN apt-get update
RUN apt-get install build-essential -y
RUN apt-get install curl -y

RUN apt-get install -y git \
    && curl -fsSL https://deb.nodesource.com/setup_20.x | bash -\
    && apt-get install -y nodejs \
    && curl -L https://foundry.paradigm.xyz | bash \
    && curl https://sh.rustup.rs -sSf | bash -s -- -y \
    && curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s --

ENV PATH="/root/.cargo/bin:${PATH}"
ENV PATH="/root/bin:${PATH}"
ENV PATH="/root/.foundry/bin:${PATH}"

RUN rustup update stable

RUN git clone https://github.com/open-ibc/ibc-app-solidity-template.git

WORKDIR /var/www/ibc-app-solidity-template

COPY .env .

RUN cargo install --git https://github.com/foundry-rs/foundry --profile local --locked forge \
    && just install

apt install screen
screen -Rd polymer

running this code on screen

docker build -t ibc-app-solidity-template . && docker run --name ibc-app-solidity -it -d ibc-app-solidity-template 

and running Custom IBC Channel

docker exec -it ibc-app-solidity just do-it

Done

GitHub - open-ibc/ibc-app-solidity-template: Template starter for IBC enabled contracts in Solidity for use with vibc-core-smart-contractsGitHub
Logo