Commit Graph

17 Commits

Author SHA1 Message Date
f989e87425 Pin repo, binaries and package versions in stack (#15)
Part of [Create bridge channel in go-nitro](https://www.notion.so/Create-bridge-channel-in-go-nitro-22ce80a0d8ae4edb80020a8f250ea270)

Reviewed-on: #15
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
2024-10-30 13:38:00 +00:00
5843397bc7 Remove go-nitro repo directory from build context (#14)
Part of [Create bridge channel in go-nitro](https://www.notion.so/Create-bridge-channel-in-go-nitro-22ce80a0d8ae4edb80020a8f250ea270)

Co-authored-by: Shreerang Kale <shreerangkale@gmail.com>
Reviewed-on: #14
2024-10-23 13:08:38 +00:00
4ccc1f793a Add script to deploy new tokens (#13)
Part of [Create bridge channel in go-nitro](https://www.notion.so/Create-bridge-channel-in-go-nitro-22ce80a0d8ae4edb80020a8f250ea270)

Co-authored-by: Shreerang Kale <shreerangkale@gmail.com>
Reviewed-on: #13
2024-10-21 09:58:53 +00:00
ceae9fe8d4 Remove go-nitro repo dependency from nitro-node and bridge stacks (#12)
Part of [Create bridge channel in go-nitro](https://www.notion.so/Create-bridge-channel-in-go-nitro-22ce80a0d8ae4edb80020a8f250ea270)
- Remove `go-nitro` repo from `bridge` and `nitro-node` stacks
- Add a separate image for Nitro contracts deployment
- Update `go-nitro` Dockerfile to:
	- Fetch `nitro` and `bridge` binaries from <https://git.vdb.to/cerc-io/nitro>  instead of building from source
	- Use `ubuntu:latest` as base image instead of `deban:bullsye-slim`
- Update `nitro-client` Dockerfile to:
	- Install `nitro-rpc-client` package from `git.vdb.to/cerc-io` instead of building from source

Co-authored-by: Adw8 <adwaitgharpure@gmail.com>
Co-authored-by: Shreerang Kale <shreerangkale@gmail.com>
Reviewed-on: #12
Co-authored-by: Prathamesh Musale <prathamesh@noreply.git.vdb.to>
Co-committed-by: Prathamesh Musale <prathamesh@noreply.git.vdb.to>
2024-10-17 07:46:14 +00:00
034778ebeb Remove the use of L2 chain & contracts for running nitro nodes (#11)
Part of [Create bridge channel in go-nitro](https://www.notion.so/Create-bridge-channel-in-go-nitro-22ce80a0d8ae4edb80020a8f250ea270)
- Remove L2 stack setup from demo steps
- Remove steps to deploy l2 contract

Co-authored-by: Shreerang Kale <shreerangkale@gmail.com>
Co-authored-by: Neeraj <neeraj.rtly@gmail.com>
Reviewed-on: #11
2024-09-30 04:24:38 +00:00
2826bbd67d Add healthcheck to nitro-rpc-client container (#10)
Part of [Create bridge channel in go-nitro](https://www.notion.so/Create-bridge-channel-in-go-nitro-22ce80a0d8ae4edb80020a8f250ea270)

Co-authored-by: Neeraj <neeraj.rtly@gmail.com>
Reviewed-on: #10
Co-authored-by: Prathamesh Musale <prathamesh@noreply.git.vdb.to>
Co-committed-by: Prathamesh Musale <prathamesh@noreply.git.vdb.to>
2024-09-17 13:54:17 +00:00
b3e58e8d74 Remove unused environment variables from compose files (#9)
Part of [Create bridge channel in go-nitro](https://www.notion.so/Create-bridge-channel-in-go-nitro-22ce80a0d8ae4edb80020a8f250ea270)
- Use variable for chain ID instead of hardcoding

Co-authored-by: Neeraj <neeraj.rtly@gmail.com>
Reviewed-on: #9
2024-09-04 10:27:10 +00:00
da17fd2f7a Add a step to install ca-certificates in go-nitro Dockerfile (#8)
Part of [Create bridge channel in go-nitro](https://www.notion.so/Create-bridge-channel-in-go-nitro-22ce80a0d8ae4edb80020a8f250ea270)

Co-authored-by: Neeraj <neeraj.rtly@gmail.com>
Reviewed-on: #8
Co-authored-by: Prathamesh Musale <prathamesh@noreply.git.vdb.to>
Co-committed-by: Prathamesh Musale <prathamesh@noreply.git.vdb.to>
2024-09-03 10:10:08 +00:00
0a9ed58aed Add demo steps for running nitro nodes with payment and defund (#5)
Part of [Create bridge channel in go-nitro](https://www.notion.so/Create-bridge-channel-in-go-nitro-22ce80a0d8ae4edb80020a8f250ea270)

Co-authored-by: Neeraj <neeraj.rtly@gmail.com>
Co-authored-by: IshaVenikar <ishavenikar7@gmail.com>
Reviewed-on: #5
2024-08-26 14:00:02 +00:00
02d2267b36 Update ports used in health check to fix TLS handshake error (#3)
Part of [Create bridge channel in go-nitro](https://www.notion.so/Create-bridge-channel-in-go-nitro-22ce80a0d8ae4edb80020a8f250ea270)

Co-authored-by: Neeraj <neeraj.rtly@gmail.com>
Reviewed-on: #3
2024-07-30 10:40:45 +00:00
cdf675f666 Update contract addresses in run nitro node script (#2)
Part of [Create bridge channel in go-nitro](https://www.notion.so/Create-bridge-channel-in-go-nitro-22ce80a0d8ae4edb80020a8f250ea270)

Co-authored-by: Neeraj <neeraj.rtly@gmail.com>
Reviewed-on: #2
2024-07-24 11:37:58 +00:00
fe85e74425 Configure extra multiaddr to listen on in nitro-node and bridge setup (#1)
Part of [Create bridge channel in go-nitro](https://www.notion.so/Create-bridge-channel-in-go-nitro-22ce80a0d8ae4edb80020a8f250ea270)
Requires https://github.com/cerc-io/go-nitro/pull/63

Reviewed-on: #1
Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-committed-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
2024-07-23 11:46:46 +00:00
Adwait Gharpure
e3a8b25850 Update nitro-node stack setup (#5)
* Rename service for nitro node

* Update nitro node setup

* Rename nitro-contracts image to nitro-client

* Fix nitro node config setup

* Add env variable for deterministic deployment

* Keep nitro-contracts service running

* Start nitro-bridge service after asset file is ready

* Update environment variables for all services

* Use quotes for bridge address

* Update nitro-node and bridge stack readme

* Fix nitro-node readme

---------

Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com>
Co-authored-by: IshaVenikar <ishavenikar7@gmail.com>
2024-07-23 12:23:48 +05:30
prathamesh0
ce2258db07
Add a stack for Nitro bridge (#4)
* Add a bridge stack

* Implement Nitro contracts deployment to L1 and L2

* Deploy custom tokens to L1 and L2

* Add a service for Nitro bridge

* Setup a service for nitro-rpc-client with required certs
2024-07-19 10:57:46 +05:30
Isha Venikar
192e6feee3
Update nitro-node stack to use public IP from config (#3)
* Rename nitro-node stack

* Add flag for setting public IP

* Log values in the nitro-node script

* Add command to install nitro-rpc-client

* Fix directory name

* Set default value for public IP
2024-07-18 17:18:24 +05:30
c0fe155708
Add stack for running individual nitro node (#2)
* Build go-nitro container image

* Run nitro node using stack

* Add config setup in readme for running nitro node

* Add script for deploying contracts

---------

Co-authored-by: Shreerang Kale <shreerangkale@gmail.com>
Co-authored-by: Neeraj <neeraj.rtly@gmail.com>
2024-07-18 10:22:37 +05:30
shreerang6921
e25a412c86
Create skeleton of stack for running nitro nodes (#1)
* Add initial stack for running go-nitro

* Fix clone required repo command

* Add step for cloning required repo

* Build docker images for nitro protocol and nitro rpc client

* Add todos in go-nitro and nitro-contracts container

* Add todos in go-nitro readme

* Replace top level version with name in docker compose files

---------

Co-authored-by: Neeraj <neeraj.rtly@gmail.com>
2024-07-17 14:59:46 +05:30