forked from stellar/soroban-examples
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitpod.yml
58 lines (56 loc) · 1.71 KB
/
.gitpod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
image:
file: .gitpod.Dockerfile
tasks:
- name: Futurenet
init: |
docker pull stellar/quickstart:soroban-dev
command: |
docker run --rm -it \
--name stellar \
-p 8000:8000 \
stellar/quickstart:soroban-dev \
--futurenet \
--enable-soroban-rpc
# This "CLI - Futurenet" task opens a terminal for you to interact with the
# futurenet network.
- name: CLI - Futurenet
# We specify some required environment variables for use on the futurenet.
env:
# This can be set by the user, but this terminal is dedicated to futurenet so set for convenience.
SOROBAN_RPC_URL: "http://127.0.0.1:8000/soroban/rpc"
SOROBAN_NETWORK_PASSPHRASE: "Test SDF Future Network ; October 2022"
# To keep things tidy, we clear the terminal from the previous output.
command: |
clear
- name: CLI - Sandbox
init: |
cargo clean
cargo fetch
make all
command: |
gp open README.md
gp open increment/src/lib.rs
gp open increment/src/test.rs
gp open README.md
soroban contract invoke --id 1 --wasm target/wasm32-unknown-unknown/release/soroban_increment_contract.wasm --fn increment
vscode:
extensions:
- rust-lang.rust-analyzer
- vadimcn.vscode-lldb
github:
prebuilds:
addBadge: true
addComment: true
pullRequests: true
pullRequestsFromForks: true
ports:
# Your quickstart node has a Horizon API server and an RPC endpoint, both
# listening on port 8000. It's publicly accessible through the internet.
- name: Futurenet
port: 8000
visibility: public
onOpen: ignore
# This port is open for "Something with cargo test I think"??
- port: 4226
visibility: private
onOpen: ignore