Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/send 2 #3923

Closed
wants to merge 46 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
0a79160
Initial commit
tjayrush Apr 21, 2024
f297df7
Adding first examples
tjayrush Apr 21, 2024
853aab2
Updates .gitignore
tjayrush Apr 21, 2024
dd8ede6
Moves examples here for safe keeping
tjayrush Apr 21, 2024
052b1bf
Puts in our examples
tjayrush Sep 1, 2024
4255830
Updating
tjayrush Sep 1, 2024
8a9132e
Updates go.mods
tjayrush Sep 1, 2024
3a48593
Adds comparison example
tjayrush Sep 4, 2024
1b86c3b
Uses v3.3.2 of SDK
tjayrush Sep 6, 2024
116c6ac
Adds --clean option
tjayrush Sep 9, 2024
bb2083c
Fixes .gitignore
tjayrush Sep 9, 2024
9ef40bf
General cleaning
tjayrush Sep 10, 2024
f1eb168
Best version yet of nameManager
tjayrush Sep 13, 2024
16ff71c
Updates go.mods to latest release
tjayrush Sep 14, 2024
e1b938c
Updates go.mods
tjayrush Sep 23, 2024
79bf970
Updates go.mods
tjayrush Oct 3, 2024
779bf49
Adds four_bytes example
tjayrush Oct 3, 2024
4919b80
Fixes fourbytes code
tjayrush Oct 6, 2024
16d1d60
Updates gomods
tjayrush Oct 8, 2024
287f414
Updates go mods
tjayrush Oct 21, 2024
cf80f10
Updates go.mods
tjayrush Oct 21, 2024
016024f
Updates to go 1.23
tjayrush Oct 21, 2024
452eb3c
Updates gomods
tjayrush Oct 22, 2024
333f802
Updates gomods
tjayrush Oct 22, 2024
8759d0d
Updates gomods
tjayrush Oct 22, 2024
18106f7
Updating nameManager
tjayrush Oct 24, 2024
557df5b
Adds a makefile
tjayrush Nov 3, 2024
fa44388
Updates gomods
tjayrush Nov 3, 2024
5e39466
Updates gomods
tjayrush Nov 3, 2024
f18b973
Updates gomods
tjayrush Nov 3, 2024
fa8e11c
Merge branch 'main' of github.com:TrueBlocks/trueblocks-examples
tjayrush Nov 3, 2024
2254a6a
Updates gomods
tjayrush Nov 3, 2024
64d09d9
Updates gomods
tjayrush Nov 3, 2024
1b3af56
Updates gomods
tjayrush Nov 25, 2024
92fbb1b
Updates gomods
tjayrush Nov 25, 2024
57c598f
Updates go.mods
tjayrush Dec 12, 2024
a89b30c
Updates go.mods
tjayrush Dec 12, 2024
ef30051
Adds ./examples/keystore as a first version of --send
tjayrush Dec 12, 2024
ad4b938
Warnings
tjayrush Dec 12, 2024
818c0a5
Updates go.mods
tjayrush Dec 13, 2024
39ff54e
Updates to GoLang 1.23
tjayrush Dec 13, 2024
8026b19
First working version of tx send highly suspect
tjayrush Dec 13, 2024
a6a7825
Updates names
tjayrush Dec 14, 2024
28b48a2
Converted docs and tests from submodules to regular folders
tjayrush Dec 15, 2024
1980205
Removed examples, will put them back in a minute as a subtree
tjayrush Dec 15, 2024
0f7298c
Add 'examples/' from commit '8026b19f5df21c08805f4bfb60ec50cd03e6c87c'
tjayrush Dec 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
9 changes: 0 additions & 9 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
[submodule "tests"]
path = tests
url = https://github.com/TrueBlocks/trueblocks-tests
[submodule "docs"]
path = docs
url = https://github.com/TrueBlocks/trueblocks-docs.git
[submodule "node"]
path = node
url = https://github.com/TrueBlocks/trueblocks-node.git
[submodule "examples"]
path = examples
url = https://github.com/TrueBlocks/trueblocks-examples.git
[submodule "sdk"]
path = sdk
url = https://github.com/TrueBlocks/trueblocks-sdk.git
1 change: 0 additions & 1 deletion docs
Submodule docs deleted from dd7e1b
62 changes: 62 additions & 0 deletions docs/.github/workflows/deploy_website.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: deploy

on:
push:
branches:
- main
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Deploy to new server
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.NEW_SERVER_HOST }}
username: ${{ secrets.DOCS_USER }}
key: ${{ secrets.DOCS_PRIVATE_KEY }}
script: |
set -e
export PATH=$PATH:/usr/local/go/bin
cd /home/${{ secrets.DOCS_USER }}/trueblocks.io
echo "------------------- git pull ------------------- "
echo ""
git pull
echo "------------------- npm install postcss-cli ------------------- "
echo ""
npm install postcss-cli
echo "------------------- redocly ------------------- "
echo ""
cat .redocly.yaml
npx @redocly/cli build-docs --disableGoogleFont=true content/api/openapi.yaml -o content/api/index.html
echo "------------------- npm run build ------------------- "
echo ""
npm run build
echo "------------------- chown ------------------- "
echo ""
chown -R ${{ secrets.DOCS_USER }}:${{ secrets.DOCS_USER }} .
cp -pR public/* /var/www/trueblocks.io/html/
cd /var/www/trueblocks.io/html/
echo "------------------- linkinator ------------------- "
echo ""
linkinator -r index.html docs/ papers/ data-model/ api/ --skip localhost:23456 --skip tokenomics.io --skip etherscan.io --skip https://twitter.com/trueblocks --skip intro
echo "------------------- done ------------------- "
echo ""

- name: Check for failure and report to Discord
uses: rjstone/discord-webhook-notify@v1
if: failure()
with:
severity: error
details: Test Failed!
webhookUrl: ${{ secrets.DOC_WEBHOOK }}

- name: Report job status
run: |
echo "This job's status is ${{ job.status }}"

14 changes: 14 additions & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
flowcharts
app.scss*
index.min.*
resources/_gen/*
file
shit
makefile
.hugo_build.lock
.DS_Store
node_modules
public
.vscode/
!.vscode/settings.json
content/api/index.html
14 changes: 14 additions & 0 deletions docs/.redocly.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiDefinitions:
openapi: ./content/api/openapi.yaml

theme:
openapi: true
# Optional: Customize other theme settings
# theme:
# openapi:
# colors:
# primary: "#32329f"
# text: "#333333"
# typography:
# fontFamily: "Arial, sans-serif"
# fontSize: "14px"
46 changes: 46 additions & 0 deletions docs/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Contributor Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment include:

- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community
- Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

- The use of sexualized language or imagery and unwelcome sexual attention or advances
- Trolling, insulting/derogatory comments, and personal or political attacks
- Public or private harassment
- Publishing others' private information, such as a physical or electronic address, without explicit permission
- Other conduct which could reasonably be considered inappropriate in a professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [email protected]. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4/
35 changes: 35 additions & 0 deletions docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# How to contribute to TrueBlocks

## Commit and Branching Guidelines

[Commit Message Guidelines](https://gist.github.com/robertpainsi/b632364184e70900af4ab688decf6f53)

[Branching Conventions](https://github.com/TrueBlocks/trueblocks-core/blob/master/docs/BRANCHING.md)

## Did you find a bug?

- **Do not open up a GitHub issue if the bug is a security vulnerability in TrueBlocks**. Contact through our website instead.
- Search for previously reported [Issues](https://github.com/TrueBlocks/trueblocks-core/issues). If you find something, please add your comments.
- If you don't find an existing issue, [open a new one](https://github.com/TrueBlocks/trueblocks-core/issues/new).

## Did you fix a bug?

- Open a pull request with the patch.
- Ensure the PR description clearly describes the problem and solution. Include the relevant issue number if applicable.
- Before submitting, read [Contributing](http://github.com/TrueBlocks/trueblocks-core/CONTRIBUTING.md). Please use our coding and testing guidelines.

## Did you make a formatting or cosmetic change?

- We use an automated formatters, therefor formatting-only changes will generally be closed without merging.

## Would do have a feature request?

- Suggest your change by creating a [Feature Request](https://github.com/TrueBlocks/trueblocks-core/issues/new) and start writing code.

## Do you have questions about the source code?

- Please join us in our [Discord server](https://discord.gg/zGh6PdN).

Thanks! :heart: :heart: :heart:

TrueBlocks Team
Loading
Loading