From 61dd7a8c2df7134e2b7fba57bb80939609ab8754 Mon Sep 17 00:00:00 2001 From: banasa44 Date: Thu, 17 Jul 2025 12:02:18 +0200 Subject: [PATCH] feat(_code-samples): WiP add tx examples skeleton --- _code-samples/README.md | 0 _code-samples/batch/README.md | 0 _code-samples/batch/go/go.mod | 5 +++++ _code-samples/batch/go/rpc/main.go | 1 + _code-samples/batch/go/ws/main.go | 1 + _code-samples/checks/go/go.mod | 5 +++++ _code-samples/checks/go/rpc/main.go | 1 + _code-samples/checks/go/ws/main.go | 1 + _code-samples/clawback/go/go.mod | 5 +++++ _code-samples/clawback/go/rpc/main.go | 1 + _code-samples/clawback/go/ws/main.go | 1 + 11 files changed, 21 insertions(+) create mode 100644 _code-samples/README.md create mode 100644 _code-samples/batch/README.md create mode 100644 _code-samples/batch/go/go.mod create mode 100644 _code-samples/batch/go/rpc/main.go create mode 100644 _code-samples/batch/go/ws/main.go create mode 100644 _code-samples/checks/go/go.mod create mode 100644 _code-samples/checks/go/rpc/main.go create mode 100644 _code-samples/checks/go/ws/main.go create mode 100644 _code-samples/clawback/go/go.mod create mode 100644 _code-samples/clawback/go/rpc/main.go create mode 100644 _code-samples/clawback/go/ws/main.go diff --git a/_code-samples/README.md b/_code-samples/README.md new file mode 100644 index 0000000000..e69de29bb2 diff --git a/_code-samples/batch/README.md b/_code-samples/batch/README.md new file mode 100644 index 0000000000..e69de29bb2 diff --git a/_code-samples/batch/go/go.mod b/_code-samples/batch/go/go.mod new file mode 100644 index 0000000000..63f569b0cd --- /dev/null +++ b/_code-samples/batch/go/go.mod @@ -0,0 +1,5 @@ +module github.com/XRPLF + +go 1.23 + +require github.com/Peersyst/xrpl-go v0.1.11 \ No newline at end of file diff --git a/_code-samples/batch/go/rpc/main.go b/_code-samples/batch/go/rpc/main.go new file mode 100644 index 0000000000..9ab1e3e8e7 --- /dev/null +++ b/_code-samples/batch/go/rpc/main.go @@ -0,0 +1 @@ +package rpc diff --git a/_code-samples/batch/go/ws/main.go b/_code-samples/batch/go/ws/main.go new file mode 100644 index 0000000000..98592950df --- /dev/null +++ b/_code-samples/batch/go/ws/main.go @@ -0,0 +1 @@ +package ws diff --git a/_code-samples/checks/go/go.mod b/_code-samples/checks/go/go.mod new file mode 100644 index 0000000000..63f569b0cd --- /dev/null +++ b/_code-samples/checks/go/go.mod @@ -0,0 +1,5 @@ +module github.com/XRPLF + +go 1.23 + +require github.com/Peersyst/xrpl-go v0.1.11 \ No newline at end of file diff --git a/_code-samples/checks/go/rpc/main.go b/_code-samples/checks/go/rpc/main.go new file mode 100644 index 0000000000..9ab1e3e8e7 --- /dev/null +++ b/_code-samples/checks/go/rpc/main.go @@ -0,0 +1 @@ +package rpc diff --git a/_code-samples/checks/go/ws/main.go b/_code-samples/checks/go/ws/main.go new file mode 100644 index 0000000000..98592950df --- /dev/null +++ b/_code-samples/checks/go/ws/main.go @@ -0,0 +1 @@ +package ws diff --git a/_code-samples/clawback/go/go.mod b/_code-samples/clawback/go/go.mod new file mode 100644 index 0000000000..63f569b0cd --- /dev/null +++ b/_code-samples/clawback/go/go.mod @@ -0,0 +1,5 @@ +module github.com/XRPLF + +go 1.23 + +require github.com/Peersyst/xrpl-go v0.1.11 \ No newline at end of file diff --git a/_code-samples/clawback/go/rpc/main.go b/_code-samples/clawback/go/rpc/main.go new file mode 100644 index 0000000000..9ab1e3e8e7 --- /dev/null +++ b/_code-samples/clawback/go/rpc/main.go @@ -0,0 +1 @@ +package rpc diff --git a/_code-samples/clawback/go/ws/main.go b/_code-samples/clawback/go/ws/main.go new file mode 100644 index 0000000000..98592950df --- /dev/null +++ b/_code-samples/clawback/go/ws/main.go @@ -0,0 +1 @@ +package ws